• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion
  • Inviting everyone to the UX test of a new security feature in the WP Toolkit
    For WordPress site owners, threats posed by hackers are ever-present. Because of this, we are developing a new security feature for the WP Toolkit. If the topic of WordPress website security is relevant to you, we would be grateful if you could share your experience and help us test the usability of this feature. We invite you to join us for a 1-hour online session via Google Meet. Select a convenient meeting time with our friendly UX staff here.

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