Please note, this is a STATIC archive of website developer.mozilla.org from November 2016, cach3.com does not collect or store any user information, there is no "phishing" involved.

JS_SetGCParametersBasedOnAvailableMemory

This article needs a technical review. How you can help.

This article covers features introduced in SpiderMonkey 31

Adjust performance parameters related to garbage collection based on available memory.

Syntax

void
JS_SetGCParametersBasedOnAvailableMemory(JSRuntime *rt, uint32_t availMem);
Name Type Description
rt JSRuntime * The runtime to configure.
value uint32_t The value of available memory in megabytes.

Description

JS_SetGCParametersBasedOnAvailableMemory adjusts the parameters of the garbage collection based on available memory.

See bug 950044 for details.

See Also

Document Tags and Contributors

 Contributors to this page: kscarfone, arai
 Last updated by: kscarfone,