Conversion in calibre is designed to maintain in-memory parsed representations of everything in the book. That avoids the overhead of re-parsing repeatedly at different stages of the conversion process. This is not going to change. Your best bet is to just install enough swap in your server to handle the load, that means your server will slow to a crawl suring large conversions, but that should be relatively rare.
|