Forum


Replies: 3   Views: 4465
Out of memory error on larger files
Topic closed:
Please note this is an old forum thread. Information in this post may be out-to-date and/or erroneous.
Every phpdocx version includes new features and improvements. Previously unsupported features may have been added to newer releases, or past issues may have been corrected.
We encourage you to download the current phpdocx version and check the Documentation available.

Posted by noodletools  · 16-01-2013 - 00:56

We're seeing this error quite a bit when we attempt to convert large HTML documents using PHPDocX 2.7:

PHP Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 83 bytes) in [path_removed]/lib/dompdfParser/include/parserhtml.cls.php on line 783

Code involved:
$docx = new CreateDocx();
$docx->embedHTML($myHTML);

Any workarounds/suggestions?