Description
Returns the total hard disk space or in-memory space available for an application.
Returns
Total space in bytes
Category
System functions
See also
Syntax
getTotalSpace(path)
Parameters
Parameter |
Description |
---|---|
path |
Path to the
|
Usage
Application memory is determined by the following settings for RAM:
- In the ColdFusion Administrator, the value specified for Memory Limit per Application for In-Memory Virtual File System (Server Settings > Settings). The default value is 20 MB.
- The value specified in the Application.cfc for this.inmemoryfilesystem.size
If you have set values in both the places, the lesser value is considered.
Even if the value specified in Application.cfc is lesser, ensure that Server Settings > Settings > Enable In-Memory File System is checked in the ColdFusion Administrator. |
Example
See the example for GetFreeSpace.