Function ul_next_sys::ulConfigSetOverrideRAMSize
source · pub unsafe extern "C" fn ulConfigSetOverrideRAMSize(
config: ULConfig,
size: c_uint,
)
Expand description
The system’s physical RAM size in bytes.
JavaScriptCore tries to detect the system’s physical RAM size to set reasonable allocation limits. Set this to anything other than 0 to override the detected value. Size is in bytes.
This can be used to force JavaScriptCore to be more conservative with its allocation strategy (at the cost of some performance).