Title: PHP Memory error
Last modified: August 22, 2016

---

# PHP Memory error

 *  Resolved [jingz](https://wordpress.org/support/users/jingz/)
 * (@jingz)
 * [11 years, 8 months ago](https://wordpress.org/support/topic/php-memory-error/)
 * Hello,
 * I still get an error because of “Allowed memory size of 134217728 bytes exhausted(
   tried to allocate 81 bytes)”.
    I set my php memory to 256MB (confirmed by woocommerce
   systemstatus and plugin status).
 * Do you have any idea?
 * Thanks for help 🙂
 * [https://wordpress.org/plugins/woocommerce-pdf-invoices-packing-slips/](https://wordpress.org/plugins/woocommerce-pdf-invoices-packing-slips/)

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

 *  Plugin Contributor [Ewout](https://wordpress.org/support/users/pomegranate/)
 * (@pomegranate)
 * [11 years, 8 months ago](https://wordpress.org/support/topic/php-memory-error/#post-5171373)
 * Hi Jingz,
    This could have a number of reasons. If you’re on shared hosting, 
   the rest of the memory might simply be unavailble. Also, it’s possible that even
   though you set the WordPress memory limit to 256MB, the actual PHP memory limit
   is capped at a lower limit. This won’t be visible in WooCommerce or Plugin status,
   as they can only check the WordPress settings.
 * Hope that helps!
 * Ewout
 *  Plugin Contributor [Ewout](https://wordpress.org/support/users/pomegranate/)
 * (@pomegranate)
 * [11 years, 7 months ago](https://wordpress.org/support/topic/php-memory-error/#post-5171567)
 * [@jingz](https://wordpress.org/support/users/jingz/), did you manage to find 
   the cause of this issue?
    Let me know if there’s anything you still need help
   with!
 *  Thread Starter [jingz](https://wordpress.org/support/users/jingz/)
 * (@jingz)
 * [11 years, 7 months ago](https://wordpress.org/support/topic/php-memory-error/#post-5171569)
 * Hi Ewout,
 * thank you for reply and I am sorry for late my late reaction.
 * The PHP memory limit is really capped to 128MB even when I set a higher limit.
   I reported this to my hosting provider to set a higher PHP memory limit.
 * I think, it’s no a issue of the plugin.
    I used the HTML mode to see and print
   the relevant invoices, which could not generate as PDF. It’s an alternative solution
   😉
 * Thank you for help! 🙂
 * Cheers
    Jing
 *  Plugin Contributor [Ewout](https://wordpress.org/support/users/pomegranate/)
 * (@pomegranate)
 * [11 years, 7 months ago](https://wordpress.org/support/topic/php-memory-error/#post-5171573)
 * That makes sense – thanks for the feedback and glad to hear you found an alternative
   solution! :o)
 * Have a great day!
    Ewout

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

The topic ‘PHP Memory error’ is closed to new replies.

 * ![](https://ps.w.org/woocommerce-pdf-invoices-packing-slips/assets/icon-256x256.
   png?rev=2189942)
 * [PDF Invoices & Packing Slips for WooCommerce](https://wordpress.org/plugins/woocommerce-pdf-invoices-packing-slips/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/woocommerce-pdf-invoices-packing-slips/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/woocommerce-pdf-invoices-packing-slips/)
 * [Active Topics](https://wordpress.org/support/plugin/woocommerce-pdf-invoices-packing-slips/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/woocommerce-pdf-invoices-packing-slips/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/woocommerce-pdf-invoices-packing-slips/reviews/)

 * 4 replies
 * 2 participants
 * Last reply from: [Ewout](https://wordpress.org/support/users/pomegranate/)
 * Last activity: [11 years, 7 months ago](https://wordpress.org/support/topic/php-memory-error/#post-5171573)
 * Status: resolved