View Single Post
Old 07-29-2017, 11:54 PM   #21
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,382
Karma: 27756918
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
The amount of memory needed for a conversion has nothing to do with the number of pages. I can create a book file that has five pages and needs multiple gigabytes of memory. This is because the main usage of memory comes from representing the final style information for all nodes in the document. Conversion has to apply all style rules to all html nodes in the document and then keep the results in memory to make transformations on it. So either having lots of html tags or lots of css can both affect memory requirements.
kovidgoyal is offline   Reply With Quote