set JVMPARAM=-Xmx1536m
set JVMPARAM=-Xmx4000m
Add client.setJVMArguments("-Xmx1024m", "-XX:MaxPermSize=512m");