Tweaked JavaMemory