Where's my memory going?

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Following on from my recent post on disposing of forms...

An event fires that creates and shows a new instance of a form, memory usage
increases when observed in 'system properties'. The user completes the form
requests and closes the form, the form is disposed programmatically but I
never get the memory back....more events more memory use...any ideas?
 
Cheers Daniel....I do get OOM exception, after quite a while of continous
running, granted.

Am I right in thinking that GC collection occurs in 750kb object blocks?

If so, when I monitor the memory on my device and create then subsequently
dispose of a number of my forms the memory should usage will rise and then
fall when a collection has occurred?
 
How the GC works is explained in the links from my blog (no point me
reiterating it here). The first step is to make sure you are running SP3.
When you get there if you are still having problems and the other steps from
my blog entry have not helped, please post a small reproducible sample.

Cheers
Daniel
 
Back
Top