[Glass] Get list of class with most instances and size

James Foster via Glass glass at lists.gemtalksystems.com
Wed Jul 1 21:20:55 PDT 2015


ScanBackup gives a report of all the objects in the on-disk repository while an out-of-memory error gives a report of all the objects in the Gem (an individual VM session that has a subset of the repository in RAM). 

James

> On Jul 1, 2015, at 6:19 PM, Mariano Martinez Peck via Glass <glass at lists.gemtalksystems.com> wrote:
> 
> Dale, 
> 
> Is this https://programminggems.wordpress.com/2009/05/14/scanbackup/ <https://programminggems.wordpress.com/2009/05/14/scanbackup/>  still the last available code to get that? I think it is not, because sometimes when I get a gem crash with an out of memory I get that table written into the log, therefore, I should have such code somewhere in my gemstone. But I do not have ScanBackup class.
> 
> So...yes, I want to print a little table with the classes with most instances, and hopefully the size and occupied memory (SpaceTally in Pharo).
> 
> Best, 
> 
> -- 
> Mariano
> http://marianopeck.wordpress.com <http://marianopeck.wordpress.com/>
> _______________________________________________
> Glass mailing list
> Glass at lists.gemtalksystems.com
> http://lists.gemtalksystems.com/mailman/listinfo/glass

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gemtalksystems.com/mailman/private/glass/attachments/20150701/67b3b807/attachment.html>


More information about the Glass mailing list