Page 1 of 1

Decoder Failure: Out of Memory

Posted: January 23rd, 2017, 3:48 am
by Slate
OS: Windows 10, x64
SAB Version: 1.2.0 [1be50eb]
SAB Uptime: 4d
Python Version: 2.7.13

Since I updated to 1.2, intermittently I get an error of "Decoder Failure: Out of Memory" and SAB pauses everything

Current memory use is 3.1/16Gb

Logs:
2017-01-23 08:31:01,164::INFO::[assembler:87] Decoding \\?\D:\SAB\Incomplete\ubuntu-16.04.1-desktop-amd64.iso
2017-01-23 08:31:11,210::WARNING::[decoder:126] Decoder failure: Out of memory
2017-01-23 08:31:11,210::INFO::[decoder:128] Decoder-Queue: 0, Cache: 549, 420599808, 471859200
2017-01-23 08:31:11,210::INFO::[decoder:129] Traceback:
Traceback (most recent call last):
File "sabnzbd\decoder.pyo", line 110, in run
File "sabnzbd\decoder.pyo", line 294, in decode
MemoryError
2017-01-23 08:31:11,210::INFO::[downloader:265] Pausing
2017-01-23 08:31:12,582::INFO::[downloader:775] Thread [email protected]: forcing disconnect
(repeated as it disconnects from all servers)

Does anyone have any suggestions?
Thanks!

Re: Decoder Failure: Out of Memory

Posted: January 23rd, 2017, 5:28 am
by safihre
Reduce your Article Cache to 500M or lower.
3.1GB.. Wow.
How many jobs were in the queue? How big were they?

Re: Decoder Failure: Out of Memory

Posted: January 23rd, 2017, 1:24 pm
by Slate
Article cache is already set to 450Mb - that 3.1Gb is total system memory usage reported by windoze

Queue is currently very large, 2.6Tb remaining (nearly 300 items)

Re: Decoder Failure: Out of Memory

Posted: January 23rd, 2017, 2:51 pm
by safihre
Might consider restarting SAB every 12 hours or so. You can do this using the Scheduler.
Python is not too good in memory management so things build up over time.
Do you run sabnzbd as a service?