Originally Posted by willus
Thanks. I've looked into this and fixed it for the next release. It was a memory leak in the new code that I added to make multi-column detection faster. I'll try and get a new release out reasonably soon. Meanwhile, you should be able to get around this by using the -p option to limit the number of pages converted.
Great! Glad you found the leak so quickly
Now, is it possible to make k2pdfopt cut every page in a file in two approximate halves so as not to cut through any text?
For example, by telling it to output exactly 2 pages for each input page and to assume device height of half the input page height?