@tomxcd Friends of mine were editing our graduation newspaper and made the mistake of not keeping every few pages in a separate file. So when rendering it consumed all the ram and crashed.
I installed Ubuntu, compiled the older version of the tool they were using, and added a whole nother hard drive as swap.
It took a while but it rendered successfully.