Fatal Error: Out of memory

Permalink
I am consistently having issues with some of my C5 sites - when working on a site, I get the following error message ---

Fatal error: Out of memory (allocated 136577024) (tried to allocate 40961 bytes) in /home/burk/www/www/concrete/libraries/block_view.php on line 331

This usually occurs AFTER I try to add a stack.
The site spins and spins (as in trying to complete the job) but never finishes. I navigate away from the page and lo and behold that error persists.

I usually go back and restore the database then it's fine, until I try it again. I have also tried:

- clearing the cache
- deleting the cache files in the root files folder
- reverting to previous versions of a page

Right now I'm working on a site that is throwing that error when trying to add a stack. It's so frustrating.

If this is something in my theme, then what? (I've read that elsewhere.)

Site ishttp://www.burkholdersauto.com ...

ProjbyP
 
mead replied on at Permalink Reply
mead
Similar problem here.

I attempted a restore, and now my site is dead. Very dead.
ProjbyP replied on at Permalink Reply
ProjbyP
I actually was able to go back to a mySQL database backup on the server (We have 7 day backups) and that took care of the error.

The next step to improving the performance and rid myself of this error was to hardcode a second level autonav for the pages I was creating. Had to make a duplicate of the right sidebar with a different name as there's a bit of difference from all other pages.

So far we're back in business and no more error.

For the most part, I have always had issues with the Side Bar auto nav being used as a stack, so I'm going to quit using it from here on out and try to keep that type of error from occurring.

I still don't know for sure where the glitch is coming from. I might also try making sure the database is cleaned up in phpMyAdmin - i.e., check/fix tables.