[0.5.x branch] Excessive Memory Usage (2GB+) (GC/memory freeing issue)
Posted: May 12th, 2010, 8:15 am
Versions: 0.5.0 betas to 0.5.2 final
OS: Ubuntu 9.10 -> 10.04
Install-type: Launchpad repository
Skin: smpl
Firewall Software: None
Are you using IPV6? No
Is the issue reproducible? Yes, locally. I'm happy to run debug/profile builds, debuggers, profilers, etc under advisement.
htop: http://dl.dropbox.com/u/303361/scr/sabn ... -usage.png
pmap -d:
1.9GB of (anonymous) memory mapped by sabnzbd while a partially downloaded job is paused in the queue.
Restarting sabnzbd 'frees' the memory. There's likely a memory leak or a massive issue with GC.
This is the highest value I've seen, resulting in other application crashes due to lack of memory (as I don't use a swap file) and amusing errors such as "Unpacking failed, [Errno 12] Cannot allocate memory" within sabnzbd itself (when trying to complete a different job without restarting).
This issue has been occurring since 0.5.0, I don't believe it was present in the 0.4 branch.
OS: Ubuntu 9.10 -> 10.04
Install-type: Launchpad repository
Skin: smpl
Firewall Software: None
Are you using IPV6? No
Is the issue reproducible? Yes, locally. I'm happy to run debug/profile builds, debuggers, profilers, etc under advisement.
htop: http://dl.dropbox.com/u/303361/scr/sabn ... -usage.png
pmap -d:
Code: Select all
Address Kbytes Mode Offset Device Mapping
0000000001931000 1893696 rw--- 0000000000000000 000:00000 [ anon ]
Restarting sabnzbd 'frees' the memory. There's likely a memory leak or a massive issue with GC.
This is the highest value I've seen, resulting in other application crashes due to lack of memory (as I don't use a swap file) and amusing errors such as "Unpacking failed, [Errno 12] Cannot allocate memory" within sabnzbd itself (when trying to complete a different job without restarting).
This issue has been occurring since 0.5.0, I don't believe it was present in the 0.4 branch.