Garbage Collection

A

Alan

Hi,
I want to know how to make certain that those unreferenced memory blocks are
reclaimed by GC after GC.Collect() is called.
By the method of GetTotalMemory, it seems all of alloctated memory is
collected correctly after that call.But the result is a lot different when I
use the System Task Manager to watch by right mouse button on the taskbar in
the desktop, the used memory is almost increasing all the time!

Any reasons?

Thanks a lot.

Alan
 

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