I have Woocommerce set up to run on WP multi-site with my PHP Memory Limit set to 256M in the php.ini

I also have in my wp-congif.php

define("WP_MEMORY_LIMIT", 128);

However Woocommerce shows the following "WP Memory Limit: 12 B - We recommend setting memory to at least 64MB."

How can I solve this

  • 2
    The correct syntax is define( 'WP_MEMORY_LIMIT', '128M' ) – Imperative Ideas Oct 9 '13 at 19:46

You could also try toying with the max memory limit. I think it's far more likely you are on an EIG host and throttled to a 64mb limit.

Oh one more thing, it's

define( 'WP_MEMORY_LIMIT', '128M' );
| improve this answer | |
  • I'm not an on EIG host however adding the correct syntax help. thanks – Oudin Oct 13 '13 at 16:47
  • Glad it was useful to you. I only mentioned EIG because back in 2013 they barely gave an account enough RAM to load WordPress for a single user. – Imperative Ideas Dec 18 '14 at 22:28

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.