I downloaded winrar 3.91 (from the rarlabs site). I stopped SABnzbd, removed (a lot of) files in the cache directory and now memory usage doesn't come above 250M
Update. I was wrong. The memory usage is still real high....






shypike wrote:Did the cache contain a lot of files?
That specific issue (cache orphans) will be solved in 0.6.0
Surprising that it has impact on SABnzbd's memory usage.
I doubt that unrar has any bearing on this, as the program doesn't run permanently.

shypike wrote:
As long as the memory usage isn't steadily rising, I don't consider it to be a memory leak.

sander wrote:shypike wrote:
As long as the memory usage isn't steadily rising, I don't consider it to be a memory leak.
Exactly. I believe on Linux an app will get as much memory as possible ... as long other apps are not asking more memory / memory back.


)





mindflayer wrote:I doubt this fully accounts for the memory leaks, but SABNzbd+ leaks a lot of file handles, at least on Windows. If you open Task Manager's 'Process' tab and add the "Handles" column, SABnzbd.exe sometimes has 20K-50K open file handles, even after all downloads are finished. Handles seem to get leaked even during unsuccessful connection attempts.
I'm using 0.5.5RC1 on Server 2008 R2 64-bit, but it's been happening for a long time.
