getMemoryUsage

Return detailed information to the memory usage of the container.

getMemoryUsage([type]) → returns query

This function requires Lucee.  Not supported on Adobe ColdFusion, etc.

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