Allow 25% working-set size growth instead of 18.75% (trying to identify tjss regression cause).

This commit is contained in:
Andreas Gal 2009-08-04 17:58:01 -07:00
parent 1df2ae6738
commit 73653222ec

View File

@ -3784,7 +3784,7 @@ js_MaybeGC(JSContext *cx)
size_t freed = rt->gcFreed;
if (lastRSS > freed)
lastRSS -= freed;
if (js_GetRSS() > (lastRSS + lastRSS/16 + lastRSS/8)) // 18.75% growth?
if (js_GetRSS() > (lastRSS + lastRSS/4)) // 25% growth?
JS_GC(cx);
}