Decoder Failure: Out of Memory

Report & discuss bugs found in SABnzbd
Forum rules
Help us help you:
  • Are you using the latest stable version of SABnzbd? Downloads page.
  • Tell us what system you run SABnzbd on.
  • Adhere to the forum rules.
  • Do you experience problems during downloading?
    Check your connection in Status and Interface settings window.
    Use Test Server in Config > Servers.
    We will probably ask you to do a test using only basic settings.
  • Do you experience problems during repair or unpacking?
    Enable +Debug logging in the Status and Interface settings window and share the relevant parts of the log here using [ code ] sections.
Post Reply
Slate
Newbie
Newbie
Posts: 4
Joined: November 19th, 2016, 2:36 pm

Decoder Failure: Out of Memory

Post 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!
User avatar
safihre
Administrator
Administrator
Posts: 5366
Joined: April 30th, 2015, 7:35 am
Contact:

Re: Decoder Failure: Out of Memory

Post by safihre »

Reduce your Article Cache to 500M or lower.
3.1GB.. Wow.
How many jobs were in the queue? How big were they?
If you like our support, check our special newsserver deal or donate at: https://sabnzbd.org/donate
Slate
Newbie
Newbie
Posts: 4
Joined: November 19th, 2016, 2:36 pm

Re: Decoder Failure: Out of Memory

Post 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)
User avatar
safihre
Administrator
Administrator
Posts: 5366
Joined: April 30th, 2015, 7:35 am
Contact:

Re: Decoder Failure: Out of Memory

Post 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?
If you like our support, check our special newsserver deal or donate at: https://sabnzbd.org/donate
Post Reply