Register Guidelines E-Books Search Today's Posts Mark Forums Read

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

Notices

Reply
 
Thread Tools Search this Thread
Old 08-29-2011, 06:57 AM   #1
nicolasblank
Junior Member
nicolasblank began at the beginning.
 
Posts: 4
Karma: 10
Join Date: Aug 2011
Device: Kindle
CHM Conversion fails with memory error

Hi all
I'm trying to convert the Exchange 2010 .CHM help file into .mobi
The CHM file can be found here:
http://www.microsoft.com/download/en...s.aspx?id=1573
I've tried this and a previous version of calibre but the conversion fails with the same error, which is "MemoryError: out of memory"
The error log is attached
Attached Files
File Type: zip calibreError.zip (414.0 KB, 55 views)
nicolasblank is offline   Reply With Quote
Old 08-29-2011, 10:00 AM   #2
Manichean
Wizard
Manichean My eyes! My eyes! The light is just too bright!Manichean My eyes! My eyes! The light is just too bright!Manichean My eyes! My eyes! The light is just too bright!Manichean My eyes! My eyes! The light is just too bright!Manichean My eyes! My eyes! The light is just too bright!Manichean My eyes! My eyes! The light is just too bright!Manichean My eyes! My eyes! The light is just too bright!Manichean My eyes! My eyes! The light is just too bright!Manichean My eyes! My eyes! The light is just too bright!Manichean My eyes! My eyes! The light is just too bright!Manichean My eyes! My eyes! The light is just too bright!
 
Manichean's Avatar
 
Posts: 3,130
Karma: 80520
Join Date: Feb 2008
Location: Germany
Device: Cybook Gen3
That error indicates that there's too little memory (RAM) available to finish the conversion. There's no fix except to upgrade your computer.
Manichean is offline   Reply With Quote
 
Advertisement
Old 08-29-2011, 10:14 AM   #3
nicolasblank
Junior Member
nicolasblank began at the beginning.
 
Posts: 4
Karma: 10
Join Date: Aug 2011
Device: Kindle
I'm running this on a 64bit machine with 8GB of RAM, with 5GB free while the conversion process is running. The process is 32 bit, which theoretically won't take more than a few GB's and the process doesn't even reach one GB at runtime.
nicolasblank is offline   Reply With Quote
Old 08-29-2011, 11:18 AM   #4
nicolasblank
Junior Member
nicolasblank began at the beginning.
 
Posts: 4
Karma: 10
Join Date: Aug 2011
Device: Kindle
took a while to rerun - every run takes nearly an hour to fail:
I confirm that I had well over 3GB free
the process maxed out at 1867640 KB (1.78GB).
My Machine had pleanty of available RAM, I expect the process is contrained by a 32bit limit, or 32 bit Python might have hit a limit.
Any ideas on how to work around this issue? Any tweaks I can try in the product?
nicolasblank is offline   Reply With Quote
Old 08-29-2011, 11:21 AM   #5
Manichean
Wizard
Manichean My eyes! My eyes! The light is just too bright!Manichean My eyes! My eyes! The light is just too bright!Manichean My eyes! My eyes! The light is just too bright!Manichean My eyes! My eyes! The light is just too bright!Manichean My eyes! My eyes! The light is just too bright!Manichean My eyes! My eyes! The light is just too bright!Manichean My eyes! My eyes! The light is just too bright!Manichean My eyes! My eyes! The light is just too bright!Manichean My eyes! My eyes! The light is just too bright!Manichean My eyes! My eyes! The light is just too bright!Manichean My eyes! My eyes! The light is just too bright!
 
Manichean's Avatar
 
Posts: 3,130
Karma: 80520
Join Date: Feb 2008
Location: Germany
Device: Cybook Gen3
That sounds like it might be a 32 bit limit issue. I don't know if and how you can work around that, but I'm pretty sure someone from the dev team will be along later.
Manichean is offline   Reply With Quote
Old 08-29-2011, 11:59 AM   #6
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: 26,453
Karma: 5383257
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
calibre is designed to keep the entire contents of an ebook that it is
processing (except for images) in memory. This makes
transformations on the text and formatting easy enough to implement
that they actually end up getting implemented. The downside of this
approach is that calibre cannot handle very large documents. I
suggest you find a way to split up your document outside calibre,
or use some other tools to convert it.
kovidgoyal is online now   Reply With Quote
Old 08-29-2011, 12:42 PM   #7
nicolasblank
Junior Member
nicolasblank began at the beginning.
 
Posts: 4
Karma: 10
Join Date: Aug 2011
Device: Kindle
Fair enuf. I don't suppose you'reworking on a 64bit build since CHM's can't be decompiled into anything decent that keeps a structure.
nicolasblank is offline   Reply With Quote
Old 08-29-2011, 12:50 PM   #8
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: 26,453
Karma: 5383257
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
64bit build are available for linux and OS X, just not windows. I currently have no plans for a 64bit windows build.
kovidgoyal is online now   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
PDF conversion fails farble1670 Calibre 2 10-09-2010 08:28 PM
Conversion memory error (HTML->EPUB) doremifaso Calibre 4 06-25-2010 11:56 PM
Conversion error: CHM to PDF or "anything else" conversions FAIL. Help. mm07 Calibre 3 05-16-2010 10:41 AM
Catalog Function Fails With Memory Error Ambermonk Library Management 4 03-08-2010 02:10 PM
Catalog Function Fails With Memory Error Ambermonk Calibre 0 03-07-2010 09:54 PM


All times are GMT -4. The time now is 11:14 PM.


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