Memory error in concrete5

Permalink
When editing site I am getting the following error message…

Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 77 bytes) in/public_html/updates/concrete5.4.0.3/concrete/libraries/3rdparty/Zend/Cache/Core.php on line 301

Also get this message when trying to revert to an older version of the page I was editing. I have noticed that some versions of the page say New Version and others just say Version can any one tell me the difference between these versions. If anyone can help me with this error message I would be very grateful. My ISP has allocated more memory but tells me this is more that normal and are telling me I should be on a dedicated server with this need for memory is this correct

JonRimmer
 
okhayat replied on at Permalink Reply
okhayat
You may need to increase your PHP allowed memory in php.ini file or from your server config. The line:
memory_limit = 64M;
JonRimmer replied on at Permalink Reply
JonRimmer
Hi thanks for that info… my ISP has increased the memory but they are saying…

"this is a lot more memory than we'd typically let a single site use on a shared package, it's approaching the amount of memory assigned to a VPS."

Do you think this is a large amount of memory? and are they other solutions?
okhayat replied on at Permalink Reply
okhayat
I agree. I feel it's too much too.
Hopefully by the next release, 5.4.0.6 or 5.4.1 it will be better.
Not sure if using a cache like APC would help with this.
JonRimmer replied on at Permalink Reply
JonRimmer
Increasing the memory doesn't seem to have made any difference. I am still getting the error. Is there anything else I can try to solve this problem?
nteaviation replied on at Permalink Reply
nteaviation
Maybe it is not c5 causing the problem. What other processes do you have running and how much memory are they consuming? Do you have SSH access or a place in your webspace controll panel to check it?
JonRimmer replied on at Permalink Reply
JonRimmer
I dont know if this process is affecting anything… when check Scheduled Jobs it looks like concrete5 is processing Index Search Engine but seems to be stuck at 37pages indexed. Could this be part of the problem
nteaviation replied on at Permalink Reply
nteaviation
Are you running the "scheduled jobs" automatically in a cron job?

If you run the "Index Search Engine" job manually from the Dashboard, does it end sucessfully or loop forever or throw that Memeory Error?
JonRimmer replied on at Permalink Reply
JonRimmer
I am running it manually from the Dashboard and it just loops. If I copy the url to run in background I get this error…

Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 10350 bytes) in /public_html/updates/concrete5.4.0.3/concrete/libraries/3rdparty/Zend/Cache/Backend/File.php on line 955

hope this helps
nteaviation replied on at Permalink Reply
nteaviation
Clearing the "site cache" from the Dashboard did not make a difference?

Did you try turning "caching off"?
JonRimmer replied on at Permalink Reply
JonRimmer
Yes tried clearing the cache but didn't make any difference. When cache is turned off I get a blank screen and address bar shows this urlhttp://94.76.197.214/index.php?cID=66&ctask=check-in...

I will turn cache back on for now
nteaviation replied on at Permalink Reply
nteaviation
It appears several issues are coming to the surface. I wonder if they are all related. The black screen just by turning off caching is most disturbing.

Did you change/add anything just before the problem started?

Does another theme produce the same Memory error?

Have you made any modifications to the /concrete5 core?
If not, I wonder if somehow the core got corrupted and rewriting a fresh copy of the /concrete5 direcotry would help?

What custom blocks and/or add-on's are you running?

There are several of things to try, I'm just not sure which to try first.
JonRimmer replied on at Permalink Reply
JonRimmer
Have just tested with Chocolate theme and same problem. I havent made any changes to the core. I have tried to run update to the latest version (5.4.0.5) from 5.4.0.3 it tells me it was updated but remains as 5.4.0.3. I have overwritten the concrete folder with the 5.4.0.5 but dashboard still tells me it is 5.4.0.3.

Add-ons used are as follows…
Area Splitter - 2.0.5
tnSpacer - 1.1
Sisimizi's Download Folder - 1.0

hope this helps to get to the bottom of the problem
nteaviation replied on at Permalink Reply
nteaviation
In your /config/site.php get rid of the entry referencing the old version of c5. That will fix your versioning issue.



Have you run the update script (Backup your database and files first)?
•Go tohttp://www.yoursite.com/index.php/tools/required/upgrade... (Note: if this does not work, tryhttp://www.yoursite.com/index.php/tools/required/upgrade.php)...
JonRimmer replied on at Permalink Reply
JonRimmer
Thanks for that … I have managed t update to the latest version but it hasn't effected the other memory issue, That is still the same

Was hoping the update might have improved things
nteaviation replied on at Permalink Reply
nteaviation
Could we get a look at your phpinfo?
JonRimmer replied on at Permalink Reply
JonRimmer
Shall I send you cpanel login and C5 login? I could send it to your pvt mail? Let me know and I will send details
nteaviation replied on at Permalink Reply
nteaviation
Your Search Indexer is definatelty stuck. Look at the last post in this thread:
http://www.concrete5.org/community/forums/customizing_c5/index-sear...
JonRimmer replied on at Permalink Reply
JonRimmer
ENABLEd the jSTATUS and tried running it again and it went into a loop again. Tried editing after enabling it and still had the same memory error so I am guessing it is something deeper than that is causing the problem
nteaviation replied on at Permalink Reply
nteaviation
Interesting that c5 threw the same error mentioned in that thread as the error you described initially.
JonRimmer replied on at Permalink Reply
JonRimmer
Yeaah I was hoping that might have been the answer. Interesting that when I turn the page caching off I dont get the error message just a blank browser screen and when I refresh I can exit page edit mode and all is saved. Dont know if the info helps or not