[][src]Function ul_sys::ulConfigSetOverrideRAMSize

pub unsafe extern "C" fn ulConfigSetOverrideRAMSize(
    config: ULConfig,
    size: c_uint
)

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).