title: PDF not getting generated using mpdf in php
body: <p>I am using mpdf library to generate pdf from html(table) content in php. I am using below code</p>
  
  <pre><code>&lt;?php 
      session_start();
      $html=$_POST['html'];
      include 'mpdf.php';
      $mpdf=new mPDF(); 
      $mpdf-&gt;WriteHTML($html);
      $mpdf-&gt;Output();
      exit;
      ?&gt;
  </code></pre>
  
  <p>When the size of html table is small, say about 100 rows, then PDF is generated properly. But when size of table is more, say about 1000-2000 rows, then pdf is not generated. </p>
  
  <p>Is there any size constraint in mpdf? What can be done to solve this problem? Or is there any other better library to generate pdf's in php</p>
  
  <p>I have tried increasing memory allocated to 256,512 and 1024 mb in <code>php.ini</code> by using this code <code>ini_set('memory_limit', '256M');</code>
  I also tried increasing time limit, it is now generating PDF but taking more time to generate and PC becomes slow. How can I release memory?</p>