newbie question: how to obtain total object memory
hi,
i need to watch total memory occupied by objects in my application (all objects of given class, or - it would be great - also all memory occupied by objects of given class and classes inherited from that class), total memory means that it is memory which will be relased by gc on that object (objects). e.g when i have class which contains, let's say, 100 Strings fields, i need sum of size of that class and sizes of that Strings.
is it possible obtain that information using JDB ?
Or, is there an other tool with that feature ?
i've tried JProbe and Borland OptimizeSuite, but i didn't found that funcjonality,
thx for any help,
Piotr Kopyt

