Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre > Recipes

Notices

Reply
 
Thread Tools Search this Thread
Old 03-24-2016, 09:20 AM   #1
nelson1379
Enthusiast
nelson1379 began at the beginning.
 
Posts: 31
Karma: 32
Join Date: Jan 2012
Device: Kindle Paperwhite
Memory spike during download of today's NYT gets process killed

Calibre's attempted download of today's New York Times has consistently failed for me today in about the same place -- when the process says "9% Article downloaded: As Coal Prospects Decline, a Colorado Town Reconsiders Marijuana," the process's memory usage suddenly spikes to use almost the system's entire memory and is then killed by the kernel.

The error message says:
Quote:
python2.7: unable to extent pixel cache `Cannot allocate memory' @ fatal/cache.c/CacheSignalHandler/3381.
This has happened about four times, right after downloading that article or one before or after it (consistently at 9%). Until the process reaches that point, memory usage had been normal and the process showed no signs of anything unusual.

I've been using Calibre for years and never had an issue quite like this one so it might be a one-off thing that goes away tomorrow, but I thought it was interesting enough to post. Perhaps the script is having some sort of issue with the article that comes next.

Note that I'm using Calibre 2.52 on a Raspberry Pi 2 on Arch Linux Arm. This issue might not be reproducible on an x86 or x64 system, but I thought I'd post it here anyway. Thanks.

Last edited by nelson1379; 03-24-2016 at 09:25 AM.
nelson1379 is offline   Reply With Quote
Old 03-24-2016, 10:50 AM   #2
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 45,265
Karma: 27110894
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Which recipe is it exactly, there are IIRC four nyt recipes. I'll need the exact title to try to reproduce.
kovidgoyal is offline   Reply With Quote
Advert
Old 03-24-2016, 12:35 PM   #3
nelson1379
Enthusiast
nelson1379 began at the beginning.
 
Posts: 31
Karma: 32
Join Date: Jan 2012
Device: Kindle Paperwhite
It's the main recipe, located here: https://github.com/kovidgoyal/calibr...nytimes.recipe
nelson1379 is offline   Reply With Quote
Old 03-24-2016, 01:29 PM   #4
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 45,265
Karma: 27110894
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
I dont get a memory spike, but then I dont have an nytimes account, so my test is likely meaningless. Most likely it is caused by some article having an image that is causing ImageMagick to blow up (calibreuses imagemagick to resize images in news downloads).
kovidgoyal is offline   Reply With Quote
Old 03-25-2016, 10:45 AM   #5
nelson1379
Enthusiast
nelson1379 began at the beginning.
 
Posts: 31
Karma: 32
Join Date: Jan 2012
Device: Kindle Paperwhite
No issues getting the New York Times today. Thanks.
nelson1379 is offline   Reply With Quote
Advert
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
epub to mobi - process killed while "serializing images" jazzbassNick Conversion 2 04-13-2012 02:39 PM
Missing Articles when Scheduling NYT Download bcollier Recipes 5 06-03-2011 10:04 PM
My NYT trial issue hasn't appeared today. Corina Nook Color & Nook Tablet 3 01-03-2011 09:32 AM
Calibre + NYT download = inconsistent? maxbookworm Calibre 36 06-28-2010 07:30 AM
NYT released New Reader Software today built around Adobe Air brecklundin News 0 05-18-2009 03:49 AM


All times are GMT -4. The time now is 10:09 AM.


MobileRead.com is a privately owned, operated and funded community.