[Vm-dev] [OpenSmalltalk/opensmalltalk-vm] Memory leak (Issue #642)

Levente Uzonyi leves at caesar.elte.hu
Tue Jun 21 20:29:51 UTC 2022


Ubuntu 20.04.4 LTS. Start the image and watch as the resident set size 
grows indefinitely:

$ watch ps -C squeak -o rss

You may prefer htop over watch+ps.


Levente

On Sun, 19 Jun 2022, tim Rowledge wrote:

> 
> Which platform? How are you measuring it? I'm not seeing anything that makes me suspect this on pi/linux.
>
>> On 2022-06-19, at 2:11 PM, smalltalking <notifications at github.com> wrote:
>> 
>> 
>> I noticed that recent VMs leak a few hundred kilobytes of memory every 3-6 seconds. It happens even if you just start VM and do nothing with the image.
>> I tested it with various 64-bit Linux VMs. There seems to be no upper limit on the leaked memory. The leak happens even with the -memory option set. The size of the object memory is not affected by the leak, saved images remain small and the image does not see the increase in memory usage.
>> Affected VMs include: 5.0-202206021410, 5.0-202205110711, 5.0-202204190959
>> Unaffected VMs include: 5.0-202112022203 and 5.0-202112201228
>> The 5.0-202206021410 assert and debug VMs leak the memory as well.
>> 
>>>> Reply to this email directly, view it on GitHub, or unsubscribe.
>> You are receiving this because you are subscribed to this thread.
>> 
>
>
> tim
> --
> tim Rowledge; tim at rowledge.org; http://www.rowledge.org/tim
> Useful Latin Phrases:- Noli me vocare, ego te vocabo = Don't call me, I'll call you.


More information about the Vm-dev mailing list