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
- via the command line
- using the heap dump extension Download Lucee (it’s not installed by default, it’s under pre-releases or snapshots)
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