G
gregory_may
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?).
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 (Acording to Task Manager).
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.
Some kind of function I can execute from the code would be fine
too like:
HowMuchMemoryDoesThisSillyObjectUse(MyObject)
I put a GC.Collect statement in one of my timers, it is keeps memory usage
more "stable", but it feels like such a HACK!
Any help would be great!
g.
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?).
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 (Acording to Task Manager).
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.
Some kind of function I can execute from the code would be fine
too like:
HowMuchMemoryDoesThisSillyObjectUse(MyObject)
I put a GC.Collect statement in one of my timers, it is keeps memory usage
more "stable", but it feels like such a HACK!
Any help would be great!
g.