How much memory am I using?

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

Guest

It looks like I have some kind of memory leak in my Visual Basic program. I
am grabing about 250K of memory every 10 seconds. I have all kinds of stuff
happening (Threads spinning in the backround & all kinds of timers going
off) and I cant tell where memory is getting sucked up.

Does VB/Visual studio.Net have some way to let me know how much memory my
objects are taking up? I cant seem to figure out how to get the
Locals/Watch/or Memory windows to show this information (Maybe I am doing it
wrong?).

Some kind of function I can execute from the Command Window would be fine
too like:

HowMuchMemoryDoesThisSillyObjectUse(MyObject)

Any help would be great!

g.
 
Hi,

Have you tried seeing the task manager for this. You can
check the memory ussage for your entire process.

Also, you can try to select different columns from the
view menu of the task manager. Try using the "Mem
Usage", "Mem Usage Delta", "Peak Mem Usage", "Virtual
Memory Size".

Regards,
Puneet Taneja
 
Task manager is telling me that my whole program is chewing up Memory.

I was looking for an object level view of what is eating up the memory.

Thanks!
 
at a dev conference last year, i remember some ide extensions from intel i
think it was that would do that
 
Back
Top