Click here to Skip to main content
15,902,189 members
Home / Discussions / Managed C++/CLI
   

Managed C++/CLI

 
GeneralRe: Advice? Pin
Mark Salsbery6-Jun-07 13:13
Mark Salsbery6-Jun-07 13:13 
QuestionImage Resizing Methods(Image Processing) Pin
Software_Specialist5-Jun-07 3:58
Software_Specialist5-Jun-07 3:58 
AnswerRe: Image Resizing Methods(Image Processing) [modified] Pin
Mark Salsbery5-Jun-07 6:50
Mark Salsbery5-Jun-07 6:50 
GeneralRe: Image Resizing Methods(Image Processing) Pin
Software_Specialist5-Jun-07 22:14
Software_Specialist5-Jun-07 22:14 
GeneralRe: Image Resizing Methods(Image Processing) Pin
Mark Salsbery6-Jun-07 5:07
Mark Salsbery6-Jun-07 5:07 
GeneralRe: Image Resizing Methods(Image Processing) Pin
Christian Graus6-Jun-07 10:52
protectorChristian Graus6-Jun-07 10:52 
GeneralRe: Image Resizing Methods(Image Processing) Pin
Mark Salsbery6-Jun-07 13:00
Mark Salsbery6-Jun-07 13:00 
GeneralRe: Image Resizing Methods(Image Processing) Pin
Software_Specialist6-Jun-07 20:56
Software_Specialist6-Jun-07 20:56 
GeneralRe: Image Resizing Methods(Image Processing) Pin
Mark Salsbery7-Jun-07 4:34
Mark Salsbery7-Jun-07 4:34 
AnswerRe: Image Resizing Methods(Image Processing) Pin
Christian Graus6-Jun-07 10:53
protectorChristian Graus6-Jun-07 10:53 
GeneralRe: Image Resizing Methods(Image Processing) Pin
Software_Specialist7-Jun-07 12:05
Software_Specialist7-Jun-07 12:05 
QuestionHow to copy data from one listbox to another? vc++ 2005 Pin
sync_austin5-Jun-07 1:59
sync_austin5-Jun-07 1:59 
AnswerRe: How to copy data from one listbox to another? vc++ 2005 Pin
Christian Graus5-Jun-07 2:46
protectorChristian Graus5-Jun-07 2:46 
QuestionI need help in c++ search in a text file Pin
non light1-Jun-07 23:22
non light1-Jun-07 23:22 
AnswerRe: I need help in c++ search in a text file Pin
Christian Graus2-Jun-07 13:10
protectorChristian Graus2-Jun-07 13:10 
QuestionERROR in reload operator Pin
Chen-XuNuo1-Jun-07 21:59
Chen-XuNuo1-Jun-07 21:59 
AnswerRe: ERROR in reload operator Pin
Christian Graus2-Jun-07 13:14
protectorChristian Graus2-Jun-07 13:14 
GeneralRe: ERROR in reload operator Pin
Chen-XuNuo3-Jun-07 18:54
Chen-XuNuo3-Jun-07 18:54 
GeneralRe: ERROR in reload operator Pin
Christian Graus4-Jun-07 11:18
protectorChristian Graus4-Jun-07 11:18 
QuestionGetProcesses in C++ Pin
gapfulgence1-Jun-07 11:04
gapfulgence1-Jun-07 11:04 
AnswerRe: GetProcesses in C++ Pin
Mark Salsbery1-Jun-07 11:44
Mark Salsbery1-Jun-07 11:44 
AnswerRe: GetProcesses in C++ Pin
Christian Graus1-Jun-07 11:47
protectorChristian Graus1-Jun-07 11:47 
QuestionUI thread not allowing Garbage Collection? Pin
SE_GEEK1-Jun-07 7:08
SE_GEEK1-Jun-07 7:08 
One of my co-workers has had an interesting problem with an application that does lots of text processing. The text processing takes a long time to complete once kicked off (it runs on several gigs of data).

When doing a basic UI for it he set a button on a form that would start this long process (didn't use a background worker, its running in the UI's thread). At this point when watching the processes memory usage it was increasing very fast (around 3 MB's per second).

Then an interesting observation was made ... if a message box was shown after the initial processing had started, the memory usage would go down to a normal level and then for the rest of the processing it would hold solid.

The only way that makes sense to me is if the garbage collector wasn't actually freeing the memory for some reason, until the message box appeared. My guess is that this has something to do with the fact that the processing was being hosted in the UI's thread and not in a worker thread.

We created a console application to do the same processing and it has a stable amount of memory use for the entire time it takes to run.

Has anybody here seen anything else like this where UI threads cause garbage collection not to clean things up ... or at least have an idea of what the main cause of this problem is?

Truly wise men don't play leap frog with Unicorns.

QuestionNEW dialog ID problem Pin
sonavi1-Jun-07 2:11
sonavi1-Jun-07 2:11 
AnswerRe: NEW dialog ID problem Pin
Mark Salsbery1-Jun-07 5:09
Mark Salsbery1-Jun-07 5:09 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.