Lucee Java Heap Space error on script after Lucee reinstallation

Usually yeah, but it depends on the code in thread and if the variables are properly scoped

for example, I’d suggest checking what’s in the cfthread scope, as that persists until after the request (and all threads, even if the request has ended) has finished?

Another option is, you can always take a java heap dump, either

then you can open the heap dump in Eclipse Memory Analyzer Open Source Project | The Eclipse Foundation and see what the largest objects in memory are