Skip to main content
Participating Frequently
February 9, 2023
Question

CF2021 Memory Leak trace. coldfusion.monitor.memory.MemoryTracker

  • February 9, 2023
  • 1 reply
  • 342 views

I have an app recently migrated to CF2021 from CF9. We are finally able to get FusionReactor on it to track why it has periodic slow downs and excessive memory usage. 

 

While I am still deducing, I can see chunks of memory allocated to coldfusion.monitor.memory.MemoryTracker. Some research online attributes this class to the PMT, though we do not have PMT enabled. Is this normal? How can I turn off PMT if it is somehow running while not enabled?

 

We have not yet installed our license so are running under Dev mode until we pass testing. 

 

 

 

This topic has been closed for replies.

1 reply

BKBK
Community Expert
Community Expert
February 10, 2023

Have you actually confirmed that Performance Monitoring Toolset (PMT) is disabled? Check in the ColdFusion Administrator:

 

That is just for ruling out PMT. Because you mentioned it. 

 

You could take a different look at this. The "monitor" in coldfusion.monitor.memory.MemoryTracker suggests that the memory problem might be caused by some thread's monitor.

 

Could you therefore share any code that you suspect? For example, code that uses cfthread. 

 

 

ChrisWRISAuthor
Participating Frequently
February 10, 2023

Yes. There are red Xs on there and the Debug pane has Performance Monitoring set to off. 

The code is SOAP web services with no cfthreads. 

BKBK
Community Expert
Community Expert
February 10, 2023

Thanks for the update. Cfthread was just an example. Other frequent causes of memory leaks are loops and deadlocked requests.

 

Could you share the code? Before you do, make sure you obfuscate any confidential or sensitive information.

 

It