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.

Components.utils.setGCZeal

This method lets scripts set the zeal level for garbage collection. You can get details on what this method does in JS_SetGCZeal. This method calls through to that thusly:

JS_SetGCZeal(<current context>, zeal, JS_DEFAULT_ZEAL_FREQ, false);

Syntax

Components.utils.setGCZeal(zeal);

Where zeal is the zeal value you wish to use. This method has no effect unless running in a debug build.

See also

Document Tags and Contributors

 Contributors to this page: teoli, kscarfone, Sheppy
 Last updated by: Sheppy,