Memory Limit Issues

Rate this topic: Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.1.00 out of 6 based on 1 vote(s)
GK User
Tue Apr 01, 2014 1:21 pm
Reply with quote
Report this post
Hello,

I am getting the following error when trying to load the home page after uploading an image via K2:

Fatal error: Allowed memory size of 262144 bytes exhausted (tried to allocate 12288 bytes) in /home/appspace/public_html/libraries/import.legacy.php on line 39

I have increased memory_limit in the php.ini file to 256MB but it still does not solve the problem, and it shouldn't be necessary to go so high. Is there another issue that I'm not seeing here?

Thanks for the help.
User avatar
Fresh Boarder

GK User
Tue Apr 01, 2014 8:36 pm
Reply with quote
Report this post
You should contact with your server to increase this value in PHP configuration. You can also try to decrease amount of modules on your website because displaying content through many different categories usually generate memory-consuming quires.
User avatar
Platinum Boarder

GK User
Wed Apr 02, 2014 12:27 am
Reply with quote
Report this post
Hello bkztuk,

This was a clean install from the quickstart package and I added no additional modules or extensions. This error first occurred when I tried uploading a photo to a K2 article and has been happening ever since.

Also, it is my own server and I am running an array of Joomla! sites without any issues, this installation is the only one with memory_limit errors.
User avatar
Fresh Boarder

GK User
Wed Apr 02, 2014 12:34 am
Reply with quote
Report this post
Solved the problem, looks like I had a typo in the php.ini file. Oops!
User avatar
Fresh Boarder


cron