Java Memory Cleaner

For Minecraft:

if(timeHelper.hasReached(300000)) {
            System.gc();
            timeHelper.reset();
        }
Shept