Limit JVM memory to 2g

So it doesn't blow up when running test.check in circle
Circle badge