limiting JVM to use 512MB