From 805701a996845dd478725605483f21665ce88004 Mon Sep 17 00:00:00 2001 From: Gregor Wagner Date: Mon, 1 Nov 2010 18:16:03 -0700 Subject: [PATCH] Bug 598650 - Increase JSGC_MAX_MALLOC_BYTES to 128MB, r=gal --- dom/base/nsJSEnvironment.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dom/base/nsJSEnvironment.cpp b/dom/base/nsJSEnvironment.cpp index 96c689ec994..6d57aa751b0 100644 --- a/dom/base/nsJSEnvironment.cpp +++ b/dom/base/nsJSEnvironment.cpp @@ -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 {