Hello,
-- I am trying to find what prevents my object from being garbage collected. There is hint, that method Object>>#referencePathToRoot would do it, but I could not find where it is implemented. Is there any alternative? Going level by level using #basicAllReferences is almost impossible. Thank you, Stan You received this message because you are subscribed to the Google Groups "VA Smalltalk" group. To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email]. To post to this group, send email to [hidden email]. Visit this group at https://groups.google.com/group/va-smalltalk. For more options, visit https://groups.google.com/d/optout. |
Administrator
|
I think you may need to use The Exorcist. I had thought to find it on vastgoodies.com, but it isn't obvious, if it is there. Totally Objects has it at http://www.totallyobjects.com/vafree.htm.
-- On Tuesday, May 30, 2017 at 5:30:45 PM UTC-7, [hidden email] wrote:
You received this message because you are subscribed to the Google Groups "VA Smalltalk" group. To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email]. To post to this group, send email to [hidden email]. Visit this group at https://groups.google.com/group/va-smalltalk. For more options, visit https://groups.google.com/d/optout. |
Thank you, #referencePathToRoot now works for me. I had to raise stack limits to be able to use it: Process defaultStackSize: 1024 * 6. Process stackOverflowWarningSize:
16384 * 6 Also it was hitting EsWeakArray instances, so I had to call it like this: | spf | 3 timesRepeat: [System globalGarbageCollect]. (spf := ExoDiGraphShortestPathFinder newForObjectPointers) excludedObjects: (EsWeakArray allInstances", EsQueue allInstances"); shortestPathFrom: spf systemRoots to: ImageViewerOCX allInstances last Now only if I would figure out why I do have references through EsQueue :-(. Best Regards, Stan
-- On Friday, June 2, 2017 at 11:38:29 AM UTC-5, Richard Sargent wrote:
You received this message because you are subscribed to the Google Groups "VA Smalltalk" group. To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email]. To post to this group, send email to [hidden email]. Visit this group at https://groups.google.com/group/va-smalltalk. For more options, visit https://groups.google.com/d/optout. |
Free forum by Nabble | Edit this page |