The Deimos Project

Lies, damn lies and statistics

Already a part of Deimos? Log in!

v0.8.10 mem leak?


Hi

I noticed the new version was up, so uninstalled 0.8.09 and installed 0.8.10 just a few hours ago.

I think 0.8.10 may have a memory leak, I've only got it running for a few hours, but Windows Task Manager is reporting that the deimos-svc.exe process is already taking >190.000 Kb of memory, and constantly rising by the second. :(

When it crossed the 200.000 Kb I went to the administrative tools, Services, and restarted the deimos Service.

It went back to around 12.000 Kb or so, but it is rising again... After a few minutes it's already over 15.000 Kb

It seems to stabilize around 400 Mb... going up and down around that value.

This is an awful lot of memory though... :(

Checked mine, it's running at 481,000k and working O.K too.

Pete

It's working fine here with 18MB memory but I'll throw it through a few test here.

Try redownloading the latest version, it contains a last-minute hotfix for a bug in Windows WMI.

Well, confirmed it. It only seems to happen when using WMI to detect network bandwidth.

Fixed the memory leak, please upgrade to 0.8.11

installed 0.8.11 and service runs for 1-2 seconds and stops, reinstalled 3 times same problem.

Me too here.

Even after going to the Administrative Tools -> Services to restart it manually it always stops after a few seconds :(

I've put 0.8.09 back for the moment.

Glad to be back to good old 0.8.09 :) lol


Funny thing, this 0.8.09 recognizes my graphics card, ATI Radeon 9200, while the newer ones didn't show anything.

Hmm, 0.8.11 is running fine for me. Showing 14,000k mem usage. I didn't uninstall old version, just quit and installed it over the other version. I'm running WinXP SP2 on this system.

Pete

well, I'm running on vista home premium 64, I tried quit and install, install without quiting, and full uninstall and install fresh after reboot. nothing worked.

There are plenty of reports on the net about WMI memory leaks, mostly programmers complaining about it.

It could be that me and Liuqyn have not applied some windows update that fixed that leak. I for one confess I don't do updates often... and I'd really wish I didn't have to do it now, as that would require a reboot, and I'm racing for an uptime record. (32 days and counting!) :)

well, I just fully updated my laptop, 0.8.11 still doesn't work, 0.8.10 still leaks, so back on 0.8.09 until further notice.

Finally, it's below 30 degrees at the moment. It's really hard to work with this heat :(

Anyway, WMI is simply crap, it's slow and only works "sometimes". I will revert the code to use the old one and implement the newer version for Windows Vista and higher. This means the network bandwidth will stay less accurate in Windows XP but for Windows Vista it will be flawless.

That said, it doesn't explain why the 0.8.11 service won't start. Could someone supply me with a log.txt of it? (found in program files/deimos/.deimos-service).
It may have to do with the changes I made for the Linux version (I'm 95% finished with an Ubuntu version). I'll run a few tests here.

well, log file didn't show much, but here it is anyway.

[01-07-2009 06:23:30] Deimos Service (desktop edition) has been started
[01-07-2009 06:23:30] Listening for interfaces at port 39690...
[01-07-2009 06:23:30] settings.bin has been loaded
[01-07-2009 06:23:30] Loaded snapshots.bin with 1 snapshots
[01-07-2009 06:23:30] realtimestats.bin has been loaded

Indicates a crash.. which is because of WMI...

so I'm assuming it's because of what didn't happen next is what you wanted afterall. makes sense, what was I thinking..