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
FAHControl (Windows) memory leak ... grows to fill virtual memory #1192
Comments
I don't know. Was there a forum post to go with this? |
07:57 AM 69.6 https://foldingforum.org/viewtopic.php?f=96&t=29242&p=289414#p289414 |
@jcoffland : If this is a gtk issue then gtksharp or other newer gtk version could be a workaround. Which version of gkt+ where you using to build Windows FahControl? |
This is how I build FahControl using Glade Gtk+ 2.24.23 on Windows 7 with Python 2.7:
|
Awesome. That's what I thought was wrong. I'll build with the newer gtk. Thanks for figuring this out! |
Mem usage on Windows 7 64bit after 12 hours (running 2 GPU slots): FahControl build with Glade Gtk+ FAHClient 7.4.16 beta So both leaks seem acceptable. |
@informatorius, I installed GladeGtk+2 3.8.5 as you suggested above. Unfortunately, it had no effect on the FAHControl build. You mention pygtk 2.24.23. Where did you find this version? |
I think we are getting hit by this bug: https://bugzilla.gnome.org/show_bug.cgi?id=685959. More info here: https://stackoverflow.com/questions/16366845/working-around-a-big-memory-leak-in-gtk-when-redrawing-a-label |
Inside the C:\Program Files (x86)\Glade Gtk+2\bin folder there is the libgtk-win32-2.0-0.dll 2.24.23 and all other dlls. I see in my checklist step 6) I made a mistake. It needs to be "python setup.py install" to get the dlls copied to the fah-control folder. "python setup.py install" then should look like this: As I understand it is not a build issue in PyGtk but a runtime issue of gtk+ 2.24.10 for Windows. This is why it needs to be replaced by a newer version like the one provided with Glade or a custom gtk+ build like used in your referenced stackoverflow issue. (PyGTK does not change and stays at latest api version 2.24.0) Latest of gtk+ is 2.24.32 and I could build it from source using Windows msys2. https://www.gtk.org/download/windows.php
with the 32bit version and gtk2
|
Ok, I've got the build working. Client beta forthcoming. Thanks! |
It is solved. |
(I though this had been reported but I can't find it. It's still true in 7.4.16)
The text was updated successfully, but these errors were encountered: