Announcement

Collapse
No announcement yet.

PHP memory exhausted

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • PHP memory exhausted


    Dear all,
    I encountered the following problem. I am running multiple flowcharts at night and encounter the following error in the logs every morning:

    "PHP Fatal error: Allowed memory size of 268435456 bytes exhausted..."

    I have already increased the PHP memory limit to 512M at "usr/local/etc/php/conf.d/espocrm.ini". When I run 'php -r "echo ini_get('memory_limit').PHP_EOL;"' this indeed shows me 512M. Finally, when I look under adminstration -> system requirements I also see memory limit is 512M.

    However, converting the number of 268435456 bytes mentioned in the error message to MB I get 256MB (Espo default I believe). Maybe I misunderstood something but can someone clarify this for me? Now I am not sure whether increasing the PHP memory limit actually worked.

    The current EspoCRM version I am working in is 7.4.3.

    Thanks in advance!



    Last edited by tess15sep; 07-08-2024, 02:28 PM.

  • #2
    Can you restart apache?

    also make sure the value is changed for other configurations as well, such as cli.

    Comment

    Working...
    X