amitdivya / dompdf

Automatically exported from code.google.com/p/dompdf
0 stars 0 forks source link

Long table causing memory/timeout errors #522

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
*Steps:*
Use the attached HTML (grouped_report.html) with the following PHP:

<code language="php">
...
$dompdf->load_html( $html );
$dompdf->set_paper( 'letter', 'landscape' );
$dompdf->render();
$dompdf->stream( "report.pdf", array( 'Attachment' => 0 ) );
</code>

The divided_report is placing 29 rows in a table and each table is 
`page-break-after:always`. The grouped_report has all of them in one table and 
it doesn't work.

*Expected:*
The fully rendered report.

*Actual:*
Variations on 30sec max execution time exceeded, tried to allocate more memory 
errors

*Environment:*
PHP 5.3.x on Apache 2.2 using PDFLib and dompdf @ r495.

Original issue reported on code.google.com by mattl...@gmail.com on 24 Jul 2012 at 9:35

Attachments:

GoogleCodeExporter commented 9 years ago

Original comment by eclecticgeek on 24 May 2013 at 3:00