Lucee 5.2.x Java Heap Issues


76% of how much? That is not necessarily bad or “too much”.

What happens after a day or two or three? Does it crash or does it keep
running in the 70% level?


Server eventually becomes unresponsive with the CPU railing at 99%


Thanks to the help of FusionReactor and a whole lot of testing I finally determined the root of the cause of my issues (thanks in part to this post sending me down the cfhttp path - Upgrade to Lucee results in GC overhead limit crashes).

Essentially I had two components (Twitter and a Emergency Broadcast System) that were retrieving json files via cfhttp. These connections were never closing and every new session opened another connection, which grew the heap and eventually resulted in the server becoming unresponsive. - Active Sessions not being closed

@kuc_its So not a Lucee issue? Please confirm. Thanks.


These components hadn’t changed and I ran into the issue when I upgraded to
Lucee 5.2. So not necessarily an issue with Lucee, but something changed in
how cfhttp connections are handled between 5.1 and 5.2.



Hi there. Just thought I’d add to this discussion… No real new data other than to say that, like everyone else here, my experience migrating up from Lucee to on Linux CentOS 7 was really horrible. Things initially looked stable after the install, but after about 6 hours, memory problems emerged and then the servers stopped entirely. Luckily, I only ever update 2 of our 4 web servers in the cluster, so I could fail these boxes out of production in our load balancer quickly and avoid downtime.

We’ve been on since 2016, amazingly stable. After moving to, two different web servers crashed within hours. Sure, we might have messy cfhttp sessions (as suggested above), but shouldn’t those be handled similarly between 5.0 and 5.2? Or at least noted and warned? In my view, 5.2 is NOT production ready. This is a major, major issue.


Anyone running 5.2.6 seeing any issues with cfthread? We are still running and want to make sure it is rock solid before we update Lucee.

Thanks in advance!