• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.

Allowed memory size

Delaye

New Pleskian
Hi everyone,

I have this error in my logs :

[Fri Sep 25 12:36:41.433301 2015] [fcgid:warn] [pid 5103] [client 92.148.158.118:51931] mod_fcgid: stderr: PHP Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 4194304 bytes) in /var/www/vhosts/store-degre7.com/multiboutique/classes/db/DbPDO.php on line 119, referer: http://store-degre7.com/admin618wry...chConf&token=897dfa50eba56ebdea9a88d90b0cae0a

So, I increased the value of memory_limit (128M to 512M), I restarted apache from service management.

phpinfo command shows that the modifications are made but i still get the error :

[Fri Sep 25 17:18:28.806196 2015] [fcgid:warn] [pid 7381] [client 92.148.158.118:38676] mod_fcgid: stderr: PHP Fatal error: Allowed memory size of 536870912 bytes exhausted (tried to allocate 32 bytes) in /var/www/vhosts/store-degre7.com/multiboutique/classes/Search.php on line 505, referer: http://store-degre7.com/admin618wry...chConf&token=897dfa50eba56ebdea9a88d90b0cae0a

Help !! :(
 
Hi Delaye,

actually, your error message states pretty clear, that the used content of your domain needs more memory. Prestashop seems to need very much memory... :rolleyes:

Consider to apply the suggestions from: http://forge.prestashop.com/browse/PSCSX-4717

https://github.com/PrestaShop/PrestaShop/commit/6ee1c4b607eb8b8b4b6c75ef80161e98ec357d5a
https://github.com/PrestaShop/PrestaShop/commit/88361b546e32ced674b617f1415dbbd53cdf52a3

and please have look at: https://github.com/PrestaShop/PrestaShop/pull/2649
 
Thanks for your reply. Indeed, Prestashop need very much memory, I reached the memory to 1024M and it seems to work fine now
 
Back
Top