ocaml-top icon indicating copy to clipboard operation
ocaml-top copied to clipboard

Memory leak on Windows on some setups

Open AltGr opened this issue 11 years ago • 2 comments

the windows version memory usage grows by a few MB every time you do any action...) it may crash the application once there is no more free memory (takes a while).

This turns out to be a known GTK bug (https://bugzilla.gnome.org/show_bug.cgi?id=685959 ; and maybe https://bugzilla.gnome.org/show_bug.cgi?id=671538). These have been fixed recently (2.24.14 I think), but the binary GTK package I use (2.24.10) is older than that.

So this may need rebuilding a more recent gtk2 on windows before packaging.

AltGr avatar Jul 05 '13 07:07 AltGr

This seems to only be the case on some setups; this needs more investigation, but doesn't seem to happen on most Windows installations. Any details appreciated if you can reproduce (Windows version, environment, display settings).

To check: hit ctrl-alt-suppr, select task manager, switch to the "processes" tab, find your ocaml-top.exe process. Start hitting repeatedly the "run" button in ocaml-top and keep an eye on the memory usage. If you can easily pass 100MB memory usage in a couple of minutes, then the bug is present.

AltGr avatar Jul 09 '13 09:07 AltGr

After some more investigation, it seems that this only happens on 16bpp desktops. So this is probably the seconnd bug mentionned above: https://bugzilla.gnome.org/show_bug.cgi?id=671538

AltGr avatar Jul 10 '13 08:07 AltGr