Last week I was hunting the memory leaks with RefsHunter because the
abnormal amount of Point instances in the object memory.
FreeTypeCache cleanUp.
Clipboard startUp: true.
RubEditingState allInstances do: [ :each | each instVarNamed: #undoManager
put:nil].
GTPlayBook reset.
EditorFindReplaceDialogWindow cleanUp.
ActiveHand resetClickState; releaseAllFocus.
UITheme current focusIndicator: nil.
40 timesRepeat: [
1 second wait.
World doOneCycle.
].
I will try to find the reason why they appear, not only how to kill them.
Cheers,
-- Pavel
2017-01-30 22:57 GMT+01:00 Alexandre Bergel <alexandre.bergel(a)me.com>om>:
Hi!
It looks like that we are currently suffering memory leaks.
In march 2015 it was said in the mailing list:
-=-=-=-=-=-=-=-=
I also tried this:
1. Create a dummy class:
Object subclass: #AAA
instanceVariableNames: 'x'
classVariableNames: ''
category: 'AAA'.
2. Open a Playground and do it and go on this:
a := #AAA asClass new.
3. In the second pane go on "self"
4. Close the Playground
5. Execute:
3 timesRepeat: [ Smalltalk garbageCollect ].
6. Check:
#AAA asClass allInstances.
7. Repeat if necessary, and after a while, the result after step 6 is not
empty.
-=-=-=-=-=-=-=-=
The problem is still present.
Looking at the pointers
There was an object reference crawler no? I remember someone worked on
this? I tried sending #pointersTo but I without much success on identifying
the cause of this leak.
Any idea?
Cheers,
Alexandre
--
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel
http://www.bergel.eu
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
_______________________________________________
Moose-dev mailing list
Moose-dev(a)list.inf.unibe.ch
https://www.list.inf.unibe.ch/listinfo/moose-dev