Php fatal error referencing file path and file that doesn't exist

I am developing a website that receives the following error code:

Fatal error: Allowed memory size of 94371840 bytes exhausted (tried to allocate 1439957 bytes) in /home/user/domain.com/libraries/joomla/cache/controller.php on line 224 

Now, maybe I was reading it wrong, but he told me that he was trying to allocate LESS than the allowed memory size, so I'm not sure how it was exhausted for a start.

This is the essence of the problem. I encode this site in Joomla. I tried to enable caching in a Joomla installation, in particular Progressive Caching . He started to generate this error, so I turned it off. Now I can not get rid of this error!

I assume that the error itself is due to the fact that I host this site from a standard shared server on Dreamhost, but I cannot understand why, after disabling caching, I still get this error for a file that now no longer exists on FTP.

Any insight would be greatly appreciated.

+4
source share
1 answer

It looks like your script is trying to use more than 90 MB, which is probably the process limit set in php.ini. Dreamhost allows you to use a custom php.ini file in which you can increase the process limit. From experience, Dreamhost allows each shared account to use just under 512 MB per system memory account before they start killing processes, so you should be able to limit the fair bit.

memory_limit = 128M to php.ini file

Instructions http://wiki.dreamhost.com/PHP.ini

or you can install it in a separate php script.

ini_set ('memory_limit', '128M');

+2
source

All Articles