getMemoryUsage

Return detailed information to the memory usage of the container.

getMemoryUsage([type]) → returns query

This function requires Lucee. Not supported on Adobe ColdFusion.

getMemoryUsage Argument Reference

type string

Specify the type of memory information to return. If not specified, both types are returned.
Values:
  • heap
  • non_heap

Examples sample code invoking the getMemoryUsage function

writeDump(getMemoryUsage());

Fork me on GitHub