Jump to content

Fatal Error: Out Of Memory (Allocated 43253760) (Tried To Allocate 12288 Bytes)


Recommended Posts

Hello all,

 

I have recently moved my Prestashop store to a new host and I am getting "Fatal error: Out of memory (allocated 43253760) (tried to allocate 12288 bytes)" everytime I try and view the Modules in the back office.

 

Why could this be?

 

I checked my memory limit using:

<?php

phpinfo();

?>

 

I have 128M, more than enough to run Prestashop.

 

Full error message:

Fatal error: Out of memory (allocated 43253760) (tried to allocate 12288 bytes) in /public_html/modules/statssales/statssales.php on line 84
[PrestaShop] Fatal error in module file :/public_html/modules/statssales/statssales.php:
Out of memory (allocated 43253760) (tried to allocate 12288 bytes)
Link to comment
Share on other sites

it would not appear you have 128mb, else you should not have seen the error message stating you have approx 43mb.

 

use this free module so you can check memory during a ps instance

 

https://www.prestashop.com/forums/topic/278164-free-module-display-php-environment-phpinfo-back-office/

 

I would use this plugin but I can't get to the Modules page in order to Add a new Module... :( Any suggestions?

Link to comment
Share on other sites

You have UP TO 128M for your scripts. This value is sometimes lowered in shared hosting, when overloaded.

 

Imagine, there is 1000 domains in one server with 128G of memory and every domain is visited by several visitors - you are easily under 128M.

Link to comment
Share on other sites

 

it would not appear you have 128mb, else you should not have seen the error message stating you have approx 43mb.

 

use this free module so you can check memory during a ps instance

 

https://www.prestashop.com/forums/topic/278164-free-module-display-php-environment-phpinfo-back-office/

 

I would use this plugin but I can't get to the Modules page in order to Add a new Module... :( Any suggestions?

 

 

back office-->advanced parm-->config info

 

there it will tell you amount of memory for php...if  128 and if like tuk mentioned above, then consider different hosting, or sort out with hosting...

Link to comment
Share on other sites

×
×
  • Create New...