This object is in archive! 

Fatal Error: Memory Issue

Archived Chris D. 10 years ago

Fatal error: Allowed memory size of 536870912 bytes exhausted (tried to allocate 4259892753 bytes) in /home/user/public_html/feedback/library/hotFiles.php on line 37311


So I got this error after installation was successful, but then it seems there's an issue with memory limit.


I added this code in php in index.php but values keep going up, seems to be a bug or something...

ini_set("memory_limit", "512M");

Replies (6)

photo
1

The error is in PHP's memory limit.

I guess that shared memory for PHP process is below 32M.

In some cases ini_set directive does not solve the problem, otherwise you need to increase memory limit in php.ini file, then restart your server.

We recomend you to set value not less than 64M.

photo
1

The value in PHP's memory limit was 256M before I started getting this error.. thats why i added the ini_set directive..


I just changed it to 64M and the memory issue is still available, Fatal error: Allowed memory size of 67108864 bytes exhausted (tried to allocate 2334846481 bytes.


Could it be a possible memory leak..?

photo
1

Chris,

We were not reported of such problem before... If you have corporate license, please send us FTP access to support(at)useresponse.com so we could take a look at the exact problem.

photo
1

Its unfortunate I don't own a corporate license, but thanks anyway..

photo
1

You are welcome! Try to review apache logs, maybe something logs there, or restart server and try to find memory leak..

Good luck.

photo
1

Thanks for your time, i really appreciate it, will look into the logs and check for memory leaks as adviced...

Replies have been locked on this page!