Bug 598650 - Increase JSGC_MAX_MALLOC_BYTES to 128MB, r=gal

This commit is contained in:
Gregor Wagner 2010-11-01 18:16:03 -07:00
parent f64646389e
commit 805701a996

View File

@ -3982,7 +3982,7 @@ SetMemoryHighWaterMarkPrefChangedCallback(const char* aPrefName, void* aClosure)
* In the browser, we don't cap the amount of GC-owned memory.
*/
JS_SetGCParameter(nsJSRuntime::sRuntime, JSGC_MAX_MALLOC_BYTES,
64L * 1024L * 1024L);
128L * 1024L * 1024L);
JS_SetGCParameter(nsJSRuntime::sRuntime, JSGC_MAX_BYTES,
0xffffffff);
} else {