Topic-icon Fatal error: Out of memory Issue?

Active Subscriptions:

None
10 years 4 months ago #38981 by PhoenixUK
Hi There,

I updated my Joomla 3.1.5 website See here... to the latest version of JFBConnect to include the awesome Twitter authentications etc and this is the only change I've made to my site in a number of weeks.

I woke yesterday to find the following errors and wondered if you know if they would be anything to do with this JFBConnect upgrade at all?

When going to the front end I'm getting the following memory error;

"Fatal error: Out of memory (allocated 786432) (tried to allocate 4480 bytes) in /home/swswsws/public_html/libraries/legacy/application/application.php on line 674"

Also when I go to the back-end I'm also getting the following memory error;

"Fatal error: Out of memory (allocated 786432) (tried to allocate 12288 bytes) in /home/swswsws/public_html/libraries/joomla/factory.php on line 653"

I have the following set in my vps servers php.ini file;

;;;;;;;;;;;;;;;;;;;
; Resource Limits ;
;;;;;;;;;;;;;;;;;;;

max_execution_time = 30
max_input_time = 60
memory_limit = 128M

I also have the following set in the php.ini file for the website I'm getting the above errors on out of nowhere;

allow_url_fopen = 0
allow_url_include = 0
upload_tmp_dir = "/home/swswsws/public_html/tmp"
upload_max_filesize = 64M
post_max_size = 64M
memory_limit = 128M

Has anybody had any experience with the above kind of error messages and if so how did you go about fixing them / sorting them, I'd be very appreciative of any advice or guidance you can offer in this matter.

Regards,
Rob
The topic has been locked.
Support Specialist
10 years 4 months ago #38987 by alzander
Rob,
Your resource limits seem to be set for 128M, which is more than reasonable. Most Joomla sites require under 50M, but more doesn't hurt.

The error message itself gives a lot of clues to the problem though as it's stating "(allocated 786432)" and can't allocate anymore. 786432 is 786kB of memory, and would be no where near enough to run a bare-bones Joomla site, let alone with any extensions installed.

So, there's something wrong between your configuration of PHP and the Joomla site actually being run. Either your PHP file is being disregarded or the memory limit is being severly shrunk by an .htaccess setting or PHP command in some extension. I'd contact your hosting company to verify the memory limit is being properly set and help determine what's going wrong.

JFBConnect does not attempt to override your memory limit in any way.

I hope that helps get you started, but if you need anything else, just let me know.

Thanks,
Alex
The topic has been locked.