title: Pdftk heap sections error when over 512Mb memory
body: <p>I use <code>pdftk</code> server to automate various tasks. Recently I ran into a problem where <code>pdftk</code> crashed while merging a large number of pdfs with the error window:</p>
  
  <pre><code>Fatal error in gc: Too many heap sections
  </code></pre>
  
  <p>After receiving this error I've run some tests to confirm that this same error will happen, regardless of what task pdftk is doing on pdfs, when its memory usage exceeds 512Mb. </p>
  
  <p>I was hoping someone could help me understand what this error means, and if there's a way to set up <code>pdftk</code> to handle these larger jobs?</p>
  
  <p>If it's just a limitation of the program, does anyone have a suggestion for a similarly functioning program without this limitation? </p>