HomeWildfire Games

Modify GC scheduling and reduce VFS cache size.

Description

Modify GC scheduling and reduce VFS cache size.

It seems like there is a memory leak if we haven't finished with the marking phase of an incremental GC and SpiderMonkey has to trigger a full GC because it runs out of memory. With this patch we stop trying to make incremental GCs if we are above 1/2 of the runtime size and do Full GCs instead. This should make such low memory conditions even less likely than they were already after the previous patch. Also reduce the maximum VFS cache size to 400 MB.
Refs #2808

Details

Committed
YvesOct 4 2014, 2:43 AM
Parents
rP15830: Fixes some bugs related to IME text input in SDL2, including a possible crash…
Branches
Unknown
Tags
Unknown