Martin Hasan
Member
Posted 2 years ago #
I'm currently using WP E-Commerce and when I tried to add variations to a product this happened:
Fatal error: Out of memory (allocated 31719424) (tried to allocate 16 bytes) in /homepages/17/d280020283/htdocs/addicted2hair/wp-includes/meta.php on line 332
I've tried increasing the memory limit (which is useless since it's only a temporary fix) but I still can't get it to work.
Any help is welcomed! Thanks in advance!
theotherlebowski
Member
Posted 2 years ago #
that sounds like a server side issue, you'll need to take it up with them as you're probably on shared hosting (like me when i got a similar message) and that only gives you a certain amount of system memory for your site to use.
you could try and deactivate any non-essential plugins and perhaps delete all of the plugins you're not using/never use...
Increase the limit in wp-config.php:
define('WP_MEMORY_LIMIT', '96M');
Change the number to whatever limit you want.
Martin Hasan
Member
Posted 2 years ago #
First of all thanks for the quick reply!
That's the the weird thing, I'm only using 2 plugins! I guess I have to give my hosting a call.
Martin Hasan
Member
Posted 2 years ago #
@phe.le I've tried all that. But I'm still getting an error...
It should work unless your host does not allow for increasing the PHP memory limit. I would recommend you to contact them.
meloniq
Member
Posted 2 years ago #
define('WP_MEMORY_LIMIT... is one thing....
second one thing which You may try is...
add to .htaccess line:
php_value memory_limit 64M
If this doesnt work as well, contact Your hosting provider