Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Memory leak on Windows on some setups #25

Open
AltGr opened this issue Jul 5, 2013 · 2 comments
Open

Memory leak on Windows on some setups #25

AltGr opened this issue Jul 5, 2013 · 2 comments

Comments

@AltGr
Copy link
Member

AltGr commented Jul 5, 2013

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
Copy link
Member Author

AltGr commented Jul 9, 2013

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
Copy link
Member Author

AltGr commented Jul 10, 2013

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant