getMemoryUsage

Return detailed information to the memory usage of the container.

getMemoryUsage([type]) → returns query

Argument Reference

type string

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

Compatibility

BoxLang:

Version 1.0.0+ Requires the bx-oshi module

Examples
Sample code invoking the getMemoryUsage function

writeDump(getMemoryUsage());

Signup for cfbreak to stay updated on the latest news from the ColdFusion / CFML community. One email, every friday.

Fork me on GitHub