RPTSwapMemoryLimit
This is documentation about a configuration directive, which can be placed within Movable Type’s core configuration file, mt-config.cgi
, to customize the behavior of the system.
RPTSwapMemoryLimit
is identical to RPTFreeMemoryLimit
, except that instead of checking free memory available on the server, it checks swap memory available on the server. For operating systems that cache aggressively, this may be a more effective way of detecting heavy memory consumption.
Default
disabled
Values
Memory size, in the form of:
- #GB
- #MB
- #KB
- # (indicating literal bytes)
The “B” is optional
Example
Specify one gigabyte:
RPTSwapMemoryLimit 1G
Specify 100 megabytes:
RPTSwapMemoryLimit 100MB
Specify 1024 kilobytes:
RPTSwapMemoryLimit 1024K
Specify 512000 bytes:
RPTSwapMemoryLimit 512000