Title: Memory usage
Last modified: August 22, 2016

---

# Memory usage

 *  Resolved [peter lipp](https://wordpress.org/support/users/peter-lipp/)
 * (@peter-lipp)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/memory-usage-4/)
 * This was the first PDF-Plugin that worked (converting the output my own shortcode/
   plugin produces – on my testsite, where I have no RAM-limits. On the hosted site
   I just had my RAM-limit upgraded to 128M – and still run out of memory when using
   this plugin. Any way to reduce memory need?
 * [https://wordpress.org/plugins/wp-mpdf/](https://wordpress.org/plugins/wp-mpdf/)

Viewing 4 replies - 1 through 4 (of 4 total)

 *  Plugin Author [fkrauthan](https://wordpress.org/support/users/fkrauthan/)
 * (@fkrauthan)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/memory-usage-4/#post-5824760)
 * I am sorry but I don’t think there is any way to reduce the ram footprint. Converting
   HTML to a PDF is a really complex process. I think a lot of images in your post
   could bring up the RAM consumption.
 *  Thread Starter [peter lipp](https://wordpress.org/support/users/peter-lipp/)
 * (@peter-lipp)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/memory-usage-4/#post-5824785)
 * Ok. Now I have played around with this on my testweb reducing the php memory 
   to 64 MB – and I have no problems at all.
 * On the hosted site it crashes in line 13312: $this->OpenTag($tag,$attr);
    trying
   to allocate some 300K Ram. And: the content I want to print is simple text, no
   images at all.
 * So there might be something else going on which I don’t understand. Ideas?
 *  Thread Starter [peter lipp](https://wordpress.org/support/users/peter-lipp/)
 * (@peter-lipp)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/memory-usage-4/#post-5824807)
 * Hmmm No relevant changes but now it started working…. Maybe the moon, the night,
   the whatever…
 * well… it worked once on the one document, and not since, it worked on another
   several times. No the one is not really complex (I think ;), just a table with
   150 rows and 6 columns
 * So any ideas on why this could happen are appreciated…
 *  Plugin Author [fkrauthan](https://wordpress.org/support/users/fkrauthan/)
 * (@fkrauthan)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/memory-usage-4/#post-5824834)
 * Thanks. If there are any bugs within the mpdf library itself feel free to open
   a bug report at [http://www.mpdf1.com/mpdf/index.php](http://www.mpdf1.com/mpdf/index.php)
   and notify me to update the plugin and use the newest library version.

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Memory usage’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/wp-mpdf.svg)
 * [wp-mpdf](https://wordpress.org/plugins/wp-mpdf/)
 * [Support Threads](https://wordpress.org/support/plugin/wp-mpdf/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-mpdf/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-mpdf/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-mpdf/reviews/)

## Tags

 * [Memory Exhausted](https://wordpress.org/support/topic-tag/memory-exhausted/)

 * 4 replies
 * 2 participants
 * Last reply from: [fkrauthan](https://wordpress.org/support/users/fkrauthan/)
 * Last activity: [11 years, 3 months ago](https://wordpress.org/support/topic/memory-usage-4/#post-5824834)
 * Status: resolved