Runtime.maxMemory() and -Xmx
How to detect real value of -Xmx param? Runtime.getRuntime().maxMemory() is not accurate
How to set the -Xmx when start running a jar file? java xmx option not recognised Change java -Xmx after the VM has already started When to use Runtime.maxMemory() and totalMemory() is it possible to log how the jvm was called (including all -D -Xmx etc) Java Heap Space - How does -Xmx work exactly? Java -Xmx, Max memory on system java on osx - xmx ignored? passing Xmx argument to ant script from eclipse When will Java's Runtime.maxMemory() return Long.MAX_VALUE? Java Runtime.maxMemory incorrect? Java app that uses a lot of memory. Use -Xmx? Why java Xmx option is not used when I invoke program using java command? Why do -Xmx and Runtime.maxMemory not agree Java -Xms and -Xmx test JVM Option: Xmx Allocation Java Memory : Runtime.getRuntime().maxMemory() How to set maximum JVM memory size (-Xmx) in my Java code? java increase xmx dynamically at runtime Is there a default -Xmx setting for java 1.5? Launching Processing.org App on Linux with Java Xmx Not able to open eclipse if Xmx is set to 2048 What does Java option -Xmx stand for? Using -Xmx memory parameter may cause error "Could not create the Java virtual machine" How to check the configured Xmx value for a running java application Read Java JVM startup parameters (eg -Xmx) Valid values of -Xmx flag in java Heap size is greater than -Xmx is -Xmx a hard limit?