On Pharo 13.
I've been working on some hobby project in Pharo 13 for a few weeks now, and it's been getting progressively slower to save the image, now taking a few seconds. So I tried to clean up some pointers, thinking that was the problem, and here are a few things that I found.
- CoCompletionEngine - 2131 instances
- MessageSend - 136352 instances
- ClyTextEditor - 1861 instances
Not knowing much about the platform, I was originally just cleaning up terminated processes that wouldn't be garbage-collected until I removed pointers to them that were living in Context and CoCompletionEngine, and while I did manage to garbage-collect the processes, saving the image is still slow, and it seems to me that perhaps every usage of a text editor is staying in memory for some reason.
On Pharo 13.
I've been working on some hobby project in Pharo 13 for a few weeks now, and it's been getting progressively slower to save the image, now taking a few seconds. So I tried to clean up some pointers, thinking that was the problem, and here are a few things that I found.
Not knowing much about the platform, I was originally just cleaning up terminated processes that wouldn't be garbage-collected until I removed pointers to them that were living in Context and CoCompletionEngine, and while I did manage to garbage-collect the processes, saving the image is still slow, and it seems to me that perhaps every usage of a text editor is staying in memory for some reason.