[Glass] No reference found to object, but object not garbage collected ...

James Foster Smalltalk at JGFoster.net
Tue Jul 2 13:21:19 PDT 2019


> On Jul 2, 2019, at 12:42 PM, Marten Feldtmann via Glass <glass at lists.gemtalksystems.com> wrote:
> 
> I have a not so small database (330 GB) and  I am looking how to remove some buggy objects in this database.
> 
> Whenenver I execute "Object _objectForOop: 325752577" I get an instance of an buggy object, but when executing "(Object _objectForOop: 325752577" findAllRefereces - I get an empty array.
> 
> Using the GsSingleRefPathFinder class I get the result, that the object is a dead object - but this dead object does no go away :-(
> 
> I try to execute markCollection, reclaimAll and did a check with pageAudit, but nothing helps.
> 
When I’m chasing presumed-to-be-dead objects, I do something equivalent to the following:
* as the only user, run markForCollection and note number of dead objects
* reclaimAll
* logout/login
* repeat till zero dead objects
* look for object (should be nil)
* look for references to object

The most common reason for “dead” objects not being reclaimed is that they are still referenced from another session. Can you confirm that the MFC and reclaim were done as the only user and that you logged out and back in before looking for the object?

James
> Any ideas ?
> 
> I am working with Gemstone/S 3.4.0
> 
> _______________________________________________
> Glass mailing list
> Glass at lists.gemtalksystems.com
> https://lists.gemtalksystems.com/mailman/listinfo/glass

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.gemtalksystems.com/mailman/private/glass/attachments/20190702/edaa752e/attachment.htm>


More information about the Glass mailing list