Space Breakdown goodie is great!

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Space Breakdown goodie is great!

Louis Sumberg-2
I just had occasion to use Chris Uppal's "Space Breakdown" goodie.  I see it
hasn't been mentioned in this group before, so I figured I'd say a few
words.

It is great!  Thanks, Chris.

In brief, it lists the number of instances of each class in your image (and
also the approximate space that these take up).  You can then "drill down"
on a particular class' instance(s), and take a look at what instances are
referencing it (or them).  In my case, I found that after exiting my
program, there were still a bunch of instances of various classes laying
around, instances that I had expected would be freed on exiting the app.
Space Breakdown helped me see that these were being referenced by an
IdentityDictionary and so I added code to explicitly release the references,
and now all is well in Pleasantville.

This goodie and others can be accessed at http://www.metagnostic.org/

-- Louis


Reply | Threaded
Open this post in threaded view
|

Re: Space Breakdown goodie is great!

Chris Uppal-3
Louis Sumberg wrote:

> Space Breakdown helped me see that these
> were being referenced by an IdentityDictionary and so I added code to
> explicitly release the references, and now all is well in
> Pleasantville.

I'm glad it helped.

And thank-you for the plug!

    -- chris