No reference found to object, but object not garbage collected ...

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

No reference found to object, but object not garbage collected ...

GLASS mailing list

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.

Any ideas ?

I am working with Gemstone/S 3.4.0


_______________________________________________
Glass mailing list
[hidden email]
https://lists.gemtalksystems.com/mailman/listinfo/glass
Reply | Threaded
Open this post in threaded view
|

Re: No reference found to object, but object not garbage collected ...

GLASS mailing list

On Jul 2, 2019, at 12:42 PM, Marten Feldtmann via Glass <[hidden email]> 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
[hidden email]
https://lists.gemtalksystems.com/mailman/listinfo/glass


_______________________________________________
Glass mailing list
[hidden email]
https://lists.gemtalksystems.com/mailman/listinfo/glass
Reply | Threaded
Open this post in threaded view
|

Re: No reference found to object, but object not garbage collected ...

GLASS mailing list
In reply to this post by GLASS mailing list

Hello Marten,

there may be a long running GEM/ Topaz process logged in to your stone, which still holds a reference to that object in its local memory and votes the object down after MFC. Restarting all user sessions before MFC should then fix the problem. Be aware, that also your dev session runnig the code Object _objectForOop: 325752577 prior to an MFC could itself be the reason.

Br,

Ralph

Am 02.07.2019 um 21:42 schrieb Marten Feldtmann via Glass:

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.

Any ideas ?

I am working with Gemstone/S 3.4.0


_______________________________________________
Glass mailing list
[hidden email]
https://lists.gemtalksystems.com/mailman/listinfo/glass

_______________________________________________
Glass mailing list
[hidden email]
https://lists.gemtalksystems.com/mailman/listinfo/glass