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

edoneel notifications at github.com
Thu Jun 23 14:36:40 UTC 2022


So I spent some time looking into this and I think I have tracked down when it happens.  In all cases my test case was Ubuntu 22.04 on x86-64 but I also see it on Ubuntu 18.04 on ARMv8.

Some recent change to the combo of the VM and the image will do this, but, only on a local X11 display when you are displaying.   Using -vm-display-X11 -headless prevents this from happening, so, good news, servers will be ok.  It also does not happen when you use a remote X11 display.  It only happens when you use a local graphics card.

It does not show up in the squeak memory usage, just the RSS size.  I guess that something is not getting freed somewhere in C, and it looks to be somewhere in the C code for the X11 driver.

Wayland vs X11 does not change anything.

This was not in Squeak 5.3 and the Squeak 53 VM running almost the newest 6.0 image is ok too.

e908c9c22 20220621T1716 ** Squeak6.0rc1 22076 ** Bad 
202206021410 ** Squeak6.0rc1 22076 ** Bad
e908c9c22 20220621T1716 ** Squeak5.3-19481 ** Good
6a0bc96 202003021730 ** Squeak6.0beta-21757 ** Good







-- 
Reply to this email directly or view it on GitHub:
https://github.com/OpenSmalltalk/opensmalltalk-vm/issues/642#issuecomment-1164490322
You are receiving this because you commented.

Message ID: <OpenSmalltalk/opensmalltalk-vm/issues/642/1164490322 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squeakfoundation.org/pipermail/vm-dev/attachments/20220623/66c747bc/attachment.html>


More information about the Vm-dev mailing list