Managing Virtual memory

  • Thread starter Thread starter Michael Kansky
  • Start date Start date
M

Michael Kansky

I have a simple windows app written in VB.net. It has IE control on the
form.
Once IE control gets utilized by navigating to different www pages, Virtual
memory used by the application rises and when garbage is collected the
Virtual memory taken by the app stays the same and never gets released as
long as the app is running. Physical memory, however is released upon
garbage collection.

Am i doing something wrong? Is there a way to control Virtual memory
utilized by VB.NET windows application? Is it IE control that causes this?
 
Once IE control gets utilized by navigating to different www pages,
Virtual memory used by the application rises and when garbage is
collected the Virtual memory taken by the app stays the same and never
gets released as long as the app is running. Physical memory, however
is released upon garbage collection.

Maybe you're not destorying or disposing your objects correctly?
 
Back
Top