MemoryPressureSettings.setMemoryLimit

Sets memory_limit the memory limit value to settings.

The default value is the system's RAM size with a maximum of 3GB.

class MemoryPressureSettings
void
setMemoryLimit

Parameters

memoryLimit uint

amount of memory (in MB) that the process is allowed to use.