title: PDF generation with Dompdf not working for large data
body: <p>I am using Dom pdf to generate a pdf file. IF there are 1000 records in table format of html then it takes minimum 20 minutes to generate but most of the time it displaying the following
  error</p>
  
  <ul>
  <li><p>No data received error 324 </p></li>
  <li><p>data segmentation error.</p></li>
  <li><p>Error 500 server down </p></li>
  </ul>
  
  <p>Is there any other easy way to generate ? or any solutions ?</p>
  
  <p>My Controller code: </p>
  
  <p>$view = new View($this, false);
      $html = $view->element('reports_affiliate');</p>
  
  <pre><code>    ini_set("max_execution_time","-1");
      $q = new DOMPDF($html);
      $q-&gt;load_html($html);
      $q-&gt;render();
      $pdf = $q-&gt;output();
      $q-&gt;stream( gmdate("D,d M YH:i:s") . " GMT".".pdf");
  </code></pre>
  
  <p>Please note that there is no problem in my sql queries or template files.</p>