Add a limit on the allowed heap for the JVM