In the last couple days I've been trying to track down a memory leak in the cpumeter/anwtop code whereby virt memory usage would climb over several hours while res remained more or less constant.
![Click to quote this passage; Click again to jump to bottom [Q]](engine/grafts/newdefault/images/qq.png)
I suspect I might have been blaming my own code where it's an issue with one of my system libraries as I've noticed that some other programs (cairo-clock) have exhibited the same behaviour. So I'm thinking I'm being bitten by tendency to be on the bleeding edge.
![Click to quote this passage; Click again to jump to bottom [Q]](engine/grafts/newdefault/images/qq.png)
However, I'm not sure. So I'm uploading a test tarball. Please not _test_. It's stable but there are several UI travesties in this current incarnation. Also I have disabled the closing of the main window when it loses focus. This is deliberate as it allows the top window to be opened and left open for long periods of time - exposing any memory leaks if they are present.
![Click to quote this passage; Click again to jump to bottom [Q]](engine/grafts/newdefault/images/qq.png)
If anyone wants to test. I'd suggest the following. Install the code. start up the applet and make not of it's virt and res memory usage and then make note several hours later... on my system it normally starts out at res memory of 10-12M and virt of ~184. The issue I'm seeing is over a period of several hours virt will slowly climb up while res remains constant. Over an 8 hour test It climbed from 184 to ~250M. I can't see any legitimate reason for this behaviour. And I'd really appreciate if a couple volunteers could test this over the next day.
![Click to quote this passage; Click again to jump to bottom [Q]](engine/grafts/newdefault/images/qq.png)
Obviously you need to be able to keep awn and the applet running for several hours without interruption. A test with and without the main top window left open would also be really, really appreciated
![Click to quote this passage; Click again to jump to bottom [Q]](engine/grafts/newdefault/images/qq.png)
I'm going to be heading out to a wedding today so I probably won't be checking back in till tomorrow.
![Click to quote this passage; Click again to jump to bottom [Q]](engine/grafts/newdefault/images/qq.png)