Fatal error: Allowed memory size of xxxxx bytes exhausted
Posted
#9722
(In Topic #3421)

Standard member

Been a long time since I've seen this error! Having not seen any recent posts describing this same issue, at this point I consider it a curiosity rather than a big problem.
Haven't had to edit much content on the Composr sites I have deployed as they've been setup for some time now and I often just edit remotely. I recently had cause to setup a proof of concept for a potential new deployment to assist a volunteer organization. 10.0.46 was the version used and I initially loaded into an Ubuntu Server VM 23.10 with all the defaults as far as versions of LAMP that were installed. Unfortunately I can't remember if the issue appeared in this setup or not as I had reason to change my platform to accommodate another project so I ended up with 20.04 and php 7.4.
The issue does not appear right away but once it does it does not go away. The site is navigable, content visible but any attempts to launch and edit or even the template/css popup from the footer results in the error. The only time I can force it away is to edit an empty page. Once content gets back in again the error reappears. 22.04 and 7.4 produces the same.
As is often the case with this error, raising memory does not help. I decided to see if I could recreate on a test machine I have here that I putter away on. It has an upgraded 10.0.46, php7.4. Working with the site for a short while and voila! up comes the error, odd.
Decided to check the two sites I have on a hosting platform: attempts to edit result in a 503 now being thrown.
Going forward: has anyone else experienced this? Anything you are aware of Patrick? If not, I'll setup my full test environment here and see if I can narrow it down. The only commonality at this point is 10.0.46 and PHP7.4.
Thanx!
Code
Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 16384 bytes) in /var/www/ffn/sources/diff.php on line 1727
"no violence, no hate, no pain, no enemies
just peace, unity, tolerance and love" - The Beloved
just peace, unity, tolerance and love" - The Beloved
Posted

Site director

0005640: Editing home page results in an infinite loop in diff - Composr CMS feature tracker
- Need support for version 10? The core development team is no-longer offering it for free (unless it's a critical bug that breaks your entire site or a serious security hole). Please consider hiring me instead if you need v10 support or a non-critical bug fix. Or, ask the community in the forums!
- Do you enjoy Composr? Please consider contributing your talent to the project or recommending Composr to others. Even small contributions make a big impact in the Composr community.
- Do you have feedback for us? You can report bugs, suggest features, or give feedback on the Free support options page.
- Do you need professional service with your Composr website? Please consider contracting me for your needs through my company, PDStig, LLC. Doing so will also help fund Composr development.
- Want to watch live streams of me developing Composr CMS? Please subscribe to me on Twitch to be notified when I stream. Composr development streams are usually spontaneous / not scheduled in advance as work priorities come first.
Posted

Standard member


Thanx for the reply!
"no violence, no hate, no pain, no enemies
just peace, unity, tolerance and love" - The Beloved
just peace, unity, tolerance and love" - The Beloved
Posted

Site director

- Need support for version 10? The core development team is no-longer offering it for free (unless it's a critical bug that breaks your entire site or a serious security hole). Please consider hiring me instead if you need v10 support or a non-critical bug fix. Or, ask the community in the forums!
- Do you enjoy Composr? Please consider contributing your talent to the project or recommending Composr to others. Even small contributions make a big impact in the Composr community.
- Do you have feedback for us? You can report bugs, suggest features, or give feedback on the Free support options page.
- Do you need professional service with your Composr website? Please consider contracting me for your needs through my company, PDStig, LLC. Doing so will also help fund Composr development.
- Want to watch live streams of me developing Composr CMS? Please subscribe to me on Twitch to be notified when I stream. Composr development streams are usually spontaneous / not scheduled in advance as work priorities come first.
Posted

Standard member




Posted

Standard member

As an FYI, one other thing I noticed that with the exception of one of the pages, all the others I was testing with (6 different ones across 3 10.0.46 installations) were fine for the first one or two edits and then pooched after that.
Thanx for the fix up, appreciated!
"no violence, no hate, no pain, no enemies
just peace, unity, tolerance and love" - The Beloved
just peace, unity, tolerance and love" - The Beloved
Posted

Site director

SoccerDad said
As an FYI, one other thing I noticed that with the exception of one of the pages, all the others I was testing with (6 different ones across 3 10.0.46 installations) were fine for the first one or two edits and then pooched after that.
From “Post #9,728”, 19th March 2024, 6:23 pm
That was to be expected. Upon the first edit, there was nothing to diff since the page was never edited before.
Good to hear it's working now.
- Need support for version 10? The core development team is no-longer offering it for free (unless it's a critical bug that breaks your entire site or a serious security hole). Please consider hiring me instead if you need v10 support or a non-critical bug fix. Or, ask the community in the forums!
- Do you enjoy Composr? Please consider contributing your talent to the project or recommending Composr to others. Even small contributions make a big impact in the Composr community.
- Do you have feedback for us? You can report bugs, suggest features, or give feedback on the Free support options page.
- Do you need professional service with your Composr website? Please consider contracting me for your needs through my company, PDStig, LLC. Doing so will also help fund Composr development.
- Want to watch live streams of me developing Composr CMS? Please subscribe to me on Twitch to be notified when I stream. Composr development streams are usually spontaneous / not scheduled in advance as work priorities come first.
1 guest and 0 members have just viewed this.