MemoryError when converting from EPUB to MOBI
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
calibre |
Won't Fix
|
Undecided
|
Unassigned |
Bug Description
I get the following details have the stacktrace/
I will also comment I would not expect the conversion to take so long at all... The first long time it looks like nothing is happening and the progress counter remains at 1%
calibre 3.23
windows 10 (with all available updates applied)
--- Details ---
Convert book 1 of 1 (The Brain Hacker Book)
Conversion options changed from defaults:
mobi_file_type: u'new'
read_
verbose: 2
mobi_
cover: u'C:\\Users\
output_profile: 'kindle'
Resolved conversion options
calibre version: 3.23.0
{'asciiize': False,
'author_sort': None,
'authors': None,
'base_font_size': 0.0,
'book_producer': None,
'change_
'chapter': u"//*[((name()='h1' or name()='h2') and re:test(., '\\s*((
'chapter_mark': u'pagebreak',
'comments': None,
'cover': u'C:\\Users\
'debug_pipeline': None,
'dehyphenate': True,
'delete_
'disable_
'dont_compress': False,
'duplicate_
'embed_all_fonts': False,
'embed_
'enable_
'expand_css': False,
'extra_css': None,
'extract_to': None,
'filter_css': u'',
'fix_indents': True,
'font_
'format_
'html_
'input_encoding': None,
'input_profile': <calibre.
'insert_
'insert_
'insert_metadata': False,
'isbn': None,
'italicize_
'keep_ligatures': False,
'language': None,
'level1_toc': None,
'level2_toc': None,
'level3_toc': None,
'line_height': 0.0,
'linearize_
'margin_bottom': 5.0,
'margin_left': 5.0,
'margin_right': 5.0,
'margin_top': 5.0,
'markup_
'max_toc_links': 50,
'minimum_
'mobi_file_type': u'new',
'mobi_
'mobi_
'mobi_
'no_chapters_
'no_inline_
'no_inline_toc': False,
'output_profile': <calibre.
'page_
'personal_doc': u'[PDOC]',
'prefer_
'prefer_
'pretty_print': False,
'pubdate': None,
'publisher': None,
'rating': None,
'read_
'remove_
'remove_
'remove_
'remove_
'renumber_
'replace_
'search_replace': '[]',
'series': None,
'series_index': None,
'share_not_sync': False,
'smarten_
'sr1_replace': None,
'sr1_search': None,
'sr2_replace': None,
'sr2_search': None,
'sr3_replace': None,
'sr3_search': None,
'start_
'subset_
'tags': None,
'timestamp': None,
'title': None,
'title_sort': None,
'toc_filter': None,
'toc_threshold': 6,
'toc_title': None,
'transform_
'unsmarten_
'unwrap_lines': True,
'use_auto_toc': False,
'verbose': 2}
InputFormatPlugin: EPUB Input running
on C:\Users\
Parsing all content...
Parsing OEBPS/The_
Parsing OEBPS/The_
Parsing OEBPS/The_
Parsing OEBPS/The_
Parsing OEBPS/The_
Parsing OEBPS/The_
Parsing OEBPS/The_
Parsing OEBPS/The_
Parsing OEBPS/The_
Parsing OEBPS/The_
Parsing OEBPS/The_
Parsing OEBPS/The_
Parsing OEBPS/The_
Parsing OEBPS/The_
Parsing OEBPS/The_
Parsing OEBPS/The_
Parsing OEBPS/The_
Parsing OEBPS/The_
Parsing OEBPS/The_
Parsing OEBPS/The_
Parsing OEBPS/The_
Parsing OEBPS/The_
Parsing OEBPS/The_
Parsing OEBPS/The_
Parsing OEBPS/The_
Parsing OEBPS/The_
Parsing OEBPS/The_
Parsing OEBPS/The_
Parsing OEBPS/The_
Parsing OEBPS/The_
Parsing OEBPS/The_
Parsing OEBPS/The_
Parsing OEBPS/The_
Parsing OEBPS/The_
Parsing OEBPS/The_
Parsing OEBPS/The_
Parsing OEBPS/The_
Parsing OEBPS/The_
Parsing OEBPS/The_
Parsing OEBPS/The_
Parsing OEBPS/The_
Parsing OEBPS/The_
Parsing OEBPS/The_
Parsing OEBPS/The_
Parsing OEBPS/The_
Parsing OEBPS/The_
Parsing OEBPS/The_
Parsing OEBPS/The_
Parsing OEBPS/The_
Parsing OEBPS/The_
Parsing OEBPS/The_
Parsing OEBPS/The_
Parsing OEBPS/The_
Parsing OEBPS/The_
Parsing OEBPS/The_
Parsing OEBPS/The_
Parsing OEBPS/The_
Parsing OEBPS/The_
Parsing OEBPS/The_
Parsing OEBPS/The_
Parsing OEBPS/The_
Parsing OEBPS/The_
Parsing OEBPS/The_
Parsing OEBPS/The_
Parsing OEBPS/The_
Parsing OEBPS/The_
Parsing OEBPS/The_
Parsing OEBPS/The_
Parsing OEBPS/The_
Parsing OEBPS/The_
Parsing OEBPS/The_
Parsing OEBPS/The_
Parsing OEBPS/The_
Parsing OEBPS/The_
Parsing OEBPS/The_
Parsing OEBPS/The_
Parsing OEBPS/The_
Parsing OEBPS/The_
Parsing OEBPS/The_
Parsing OEBPS/The_
Parsing OEBPS/The_
Parsing OEBPS/The_
Parsing OEBPS/The_
Parsing OEBPS/The_
Parsing OEBPS/The_
Parsing OEBPS/The_
Parsing OEBPS/The_
Parsing OEBPS/The_
Parsing OEBPS/The_
Parsing OEBPS/The_
Parsing OEBPS/The_
Parsing OEBPS/The_
Parsing OEBPS/The_
Parsing OEBPS/toc.xhtml ...
Parsing OEBPS/css/
Parsing OEBPS/The_
Parsing OEBPS/The_
Parsing OEBPS/The_
Parsing OEBPS/The_
Parsing OEBPS/The_
Parsing OEBPS/The_
Parsing OEBPS/The_
Parsing OEBPS/The_
Parsing OEBPS/The_
Parsing OEBPS/The_
Parsing OEBPS/The_
Reading TOC from NCX...
Merging user specified metadata...
Detecting structure...
Flattening CSS and remapping font sizes...
Source base font size is 12.00000pt
Removing fake margins...
Found 80 items of level: p_4
Found 115 items of level: div_3
Found 4233 items of level: div_2
Found 1264 items of level: div_1
p_4 left margin stats: Counter({u'0': 80})
p_4 right margin stats: Counter({u'0': 80})
div_3 left margin stats: Counter({u'0': 115})
div_3 right margin stats: Counter({u'0': 115})
div_2 left margin stats: Counter({u'0': 3})
div_2 right margin stats: Counter({u'0': 3})
div_1 left margin stats: Counter({u'0': 252})
div_1 right margin stats: Counter({u'0': 252})
Cleaning up manifest...
Trimming unused files from manifest...
Trimming u'OEBPS/toc.xhtml' from manifest
Creating MOBI Output...
Serializing resources...
Splitting markup on page breaks and flow limits, if any...
Creating KF8 output
Generating KF8 markup...
Python function terminated unexpectedly
(Error Code: 1)
Traceback (most recent call last):
File "site.py", line 101, in main
File "site.py", line 78, in run_entry_point
File "site-packages\
File "site-packages\
File "site-packages\
File "site-packages\
File "site-packages\
File "site-packages\
File "site-packages\
File "site-packages\
File "site-packages\
File "site-packages\
File "site-packages\
File "site-packages\
File "site-packages\
File "site-packages\
File "site-packages\
MemoryError
That is an out of memory error. If you have a computer with lots of RAM
and a 64bit version of windows, install the 64 bit version of calibre,
that may let you convert this document. Otherwise you are out of luck.
status wontfix