MemoryPressureSettings.setMemoryLimit
void setMemoryLimit(uint memoryLimit)Sets memory_limit the memory limit value to settings.
The default value is the system's RAM size with a maximum of 3GB.
Parameters
memoryLimit | amount of memory (in MB) that the process is allowed to use. |