Apparently, _JAVA_OPTIONS
works on Linux, too:
$ export _JAVA_OPTIONS="-Xmx1g"
$ java -jar jconsole.jar &
Picked up _JAVA_OPTIONS: -Xmx1g
More Related Contents:
- What is the largest possible heap size with a 64-bit JVM?
- Encourage the JVM to GC rather than grow the heap?
- How to increase java heap size programmatically
- best Java code to control big heap memeory used (like 1G) [closed]
- Error java.lang.OutOfMemoryError: GC overhead limit exceeded
- Recommendations for a heap analysis tool for Java? [closed]
- java.lang.OutOfMemoryError: GC overhead limit exceeded [duplicate]
- Scale the ImageIcon automatically to label size
- Java heap terminology: young, old and permanent generations?
- Difference between _JAVA_OPTIONS, JAVA_TOOL_OPTIONS and JAVA_OPTS
- Java stack overflow error – how to increase the stack size in Eclipse?
- Java 7 (JDK 7) garbage collection and documentation on G1
- Debug a java application without starting the JVM with debug arguments
- Is there a way to lower Java heap when not in use?
- How much data can a List can hold at the maximum?
- Do Java primitives go on the Stack or the Heap?
- JVM heap parameters
- How does the JVM ensure that System.identityHashCode() will never change?
- CMSPermGenSweepingEnabled vs CMSClassUnloadingEnabled
- How do I set Java’s min and max heap size through environment variables?
- How to view the current heap size that an application is using?
- PySpark: java.lang.OutofMemoryError: Java heap space
- Running java with JAVA_OPTS env variable has no effect
- How do I give Jenkins more heap space when it’s running as a daemon on Ubuntu?
- Why a sawtooth shaped graph?
- Duplicated Java runtime options : what is the order of preference?
- Steps in the memory allocation process for Java objects
- Java PriorityQueue with fixed size
- how to increase java heap memory permanently?
- how to choose the jvm heap size?