Where's my memory going?

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?
 
G

Guest

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?
 
D

Daniel Moth

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top