![]() | |
![]() |
| | Thread Tools | Search this Thread | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
HI, I am a C#.NET Developer. I created a windows application which is taking too much memory. But my code is calling dispose methods of all objects and assigning null them. I don't know why is it happening After that i tried the GC methods it worked for me in the first instance but from the next time onwards its not working. I don't why. Can any one help on how to clear the memory immediately after completely using of an object. Thanks in Advance Prasad Dannani |
#3
| |||
| |||
|
|
you need to hook up a memory profiler to your application. See MSDN for how to do this -- Regards, Alvin Bruney - ASP.NET MVP [Shameless Author Plug] The Microsoft Office Web Components Black Book with .NET Now available @ www.lulu.com/owc, Amazon.com etc "Prasad Dannani" <prasad (AT) pennywise (DOT) com> wrote in message news:uhsuY13aFHA.3712 (AT) TK2MSFTNGP09 (DOT) phx.gbl... HI, I am a C#.NET Developer. I created a windows application which is taking too much memory. But my code is calling dispose methods of all objects and assigning null them. I don't know why is it happening After that i tried the GC methods it worked for me in the first instance but from the next time onwards its not working. I don't why. Can any one help on how to clear the memory immediately after completely using of an object. Thanks in Advance Prasad Dannani |
#4
| |||
| |||
|
|
HI, I am a C#.NET Developer. I created a windows application which is taking too much memory. But my code is calling dispose methods of all objects and assigning null them. I don't know why is it happening After that i tried the GC methods it worked for me in the first instance but from the next time onwards its not working. I don't why. Can any one help on how to clear the memory immediately after completely using of an object. Thanks in Advance Prasad Dannani |
![]() |
| Thread Tools | Search this Thread |
| Display Modes | |
| |