[BUILD] Randomize JVM heapsize between 512 and 1024m