Gets details of the memory that is available for the operating system, in bytes.

getSystemTotalMemory(); → returns numeric

Argument Reference

region string

Indicates the cache region from which to remove the stored objects. If no value is specified, default cache region is considered by default.

Sample code invoking the getSystemTotalMemory function

#NumberFormat(getSystemTotalMemory() / 1000 / 1000,"0.00")# MB

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

Fork me on GitHub