We're looking for a user researcher to understand the needs of developers and designers. Is this you or someone you know? Check out the post: https://mzl.la/2IGzdXS


This article covers features introduced in SpiderMonkey 31

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


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.


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,