EmuNewz Network

Full Version: Vertex cache filling up memory?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Using vertex cache gives a big fps boost for me in most games, particularly in FFBig Grinissidia, but it fills up the java memory really fast, causing games to crash or freeze within 10 minutes of playing or so due to "out of memory" errors. Is there any way around it, other than restarting the emulator time and time again? No way to empty the vertex cache now and then so it doesn't store junk constantly and keeps the memory usage within limits? I wouldn't like to enable large pages as I'm not sure if it's a good idea to fill up an extremely full page file just to run one emulator and thus slow down the whole system...though if you claim it does no harm I suppose I could try it.

I have 4 GB RAM and an additional 1 GB on the videocard, should be plenty enough I guess...or at least it is for anything but Jpcsp it seems. Tongue

EDIT: Well after fiddling with the java memory settings some more I noticed that I can run games fine with xmx size set to 512 and incremental garbage collector enabled, while keeping vertex cache on. Seems to slow down in longer sessions but I haven't had a freeze-crash yet, much better than not having vertex cache on at all. Big Grin