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.
|