Click here to Skip to main content
15,891,204 members
Home / Discussions / .NET (Core and Framework)
   

.NET (Core and Framework)

 
GeneralRe: DirectX ? Pin
James T. Johnson4-Oct-03 8:29
James T. Johnson4-Oct-03 8:29 
GeneralRe: DirectX ? Pin
Tomas Wilhelmsson4-Oct-03 8:31
Tomas Wilhelmsson4-Oct-03 8:31 
GeneralRe: DirectX ? Pin
Null_Vector14-Oct-03 5:09
Null_Vector14-Oct-03 5:09 
GeneralAccesing ICorRuntimeHost. Pin
igor19603-Oct-03 6:51
igor19603-Oct-03 6:51 
GeneralRe: Accesing ICorRuntimeHost. Pin
Stephane Rodriguez.4-Oct-03 2:37
Stephane Rodriguez.4-Oct-03 2:37 
GeneralRe: Accesing ICorRuntimeHost. Pin
igor19604-Oct-03 9:09
igor19604-Oct-03 9:09 
GeneralRe: Accesing ICorRuntimeHost. Pin
Stephane Rodriguez.4-Oct-03 10:53
Stephane Rodriguez.4-Oct-03 10:53 
GeneralGDI+ and memory leaks Pin
mikelb2-Oct-03 8:03
mikelb2-Oct-03 8:03 
I have some custom drawing code that I'm doing in my application. I made sure to use the using statement or explicity call dispose on all the brushes and pens that I'm using to make sure that I don't have any memory leaks.

My problem is that if I start the application and move the mouse around to cause the drawing to occur then I see in the task manager that I slowly eat up more and more memory, 20-60k at a time. If I don't change a single line of code but put in a GC.Collect() at the end of my drawing then I see that no extra memory is consumed.

I've left the application running for a while and I don't see the memory being released w/o the GC.Collect().

Am I supposed to just trust that everything is going ok under the covers and that at some point Garbage collection will get it? If I do this and I give someone here my application won't they assume I have a memory leak?

Thanks,
Michael
GeneralRe: GDI+ and memory leaks Pin
igor19603-Oct-03 13:38
igor19603-Oct-03 13:38 
GeneralRe: GDI+ and memory leaks Pin
Stephane Rodriguez.4-Oct-03 2:41
Stephane Rodriguez.4-Oct-03 2:41 
GeneralOpening a form inside another Pin
Ricky Helgesson2-Oct-03 4:11
Ricky Helgesson2-Oct-03 4:11 
GeneralRe: Opening a form inside another Pin
mikelb2-Oct-03 8:04
mikelb2-Oct-03 8:04 
GeneralRe: Opening a form inside another Pin
Ricky Helgesson2-Oct-03 21:40
Ricky Helgesson2-Oct-03 21:40 
GeneralRe: Opening a form inside another Pin
mikelb3-Oct-03 4:49
mikelb3-Oct-03 4:49 
GeneralRe: Opening a form inside another Pin
Ricky Helgesson7-Oct-03 6:52
Ricky Helgesson7-Oct-03 6:52 
GeneralRe: Opening a form inside another Pin
mikelb7-Oct-03 7:19
mikelb7-Oct-03 7:19 
GeneralRe: Opening a form inside another Pin
Jasper4C#2-Oct-03 11:56
Jasper4C#2-Oct-03 11:56 
GeneralRe: Opening a form inside another Pin
MtnBiknGuy3-Oct-03 5:02
MtnBiknGuy3-Oct-03 5:02 
GeneralProblem with web deployment using cab file Pin
Srikar Y30-Sep-03 0:39
Srikar Y30-Sep-03 0:39 
QuestionCan .NET work as Visual Studio6.0? Pin
joc6129-Sep-03 12:58
joc6129-Sep-03 12:58 
AnswerRe: Can .NET work as Visual Studio6.0? Pin
mikelb2-Oct-03 8:07
mikelb2-Oct-03 8:07 
GeneralGeting/seting the properties of a file Pin
Mattias Olgerfelt29-Sep-03 3:35
Mattias Olgerfelt29-Sep-03 3:35 
GeneralRe: Geting/seting the properties of a file Pin
Jim Taylor7-Oct-03 7:04
Jim Taylor7-Oct-03 7:04 
GeneralRe: Geting/seting the properties of a file Pin
Mattias Olgerfelt7-Oct-03 7:48
Mattias Olgerfelt7-Oct-03 7:48 
Generalshortcut for button in .net cf Pin
tignatov29-Sep-03 0:31
tignatov29-Sep-03 0:31 

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.