I play Minecraft with about 100 mods and 32x32 texture pack. I've got min/max memory assigned 4GB and use 64Bit Java.
However, my due me teleporting a lot in my world my memory gets filled rather quickly, and I get that. But if I'm not in a place a long time, that cached memory should be flushed, but it is not.
Is there a JVM start command that aggressively flush cached memory regardless if it's needed or not in certain intervalls? Or even an option in-game for MinecrafT?