As a follow up to Peter’s answer the flag is
-XX:+UseG1GC
as described at Oracle
Related Posts:
- How to deal with “java.lang.OutOfMemoryError: Java heap space” error?
- How to deal with “java.lang.OutOfMemoryError: Java heap space” error?
- Is there any advantage in setting Xms and Xmx to the same value?
- Java Could not reserve enough space for object heap error
- How exactly does the Java interpreter or any interpreter work?
- Differences between “java -cp” and “java -jar”?
- Invalid maximum heap size
- Eclipse error: ‘Failed to create the Java Virtual Machine’
- Could not reserve enough space for object heap
- Could not reserve enough space for object heap
- “Error occurred during initialization of VM; Could not reserve enough space for object heap” using -Xmx3G
- Possible causes of Java VM EXCEPTION_ACCESS_VIOLATION?
- What are the -Xms and -Xmx parameters when starting JVM?
- “Error occurred during initialization of VM; Could not reserve enough space for object heap” using -Xmx3G
- What does -XX:MaxPermSize do?
- JVM Crash – “EXCEPTION_ACCESS_VIOLATION”
- Could not reserve enough space for object heap
- Check jdk/JRE is installed and get path for jvm.dll
- Missing `server’ JVM (Java\jre7\bin\server\jvm.dll.)
- How do I set the proxy to be used by the JVM
- How do I use the JAVA_OPTS environment variable?
- Why cannot the JVM auto expand heap memory to the configured Xmx3072m in linux & jdk1.6.0_32, and FullGC occurs very frequently
- Cannot assign requested address using ServerSocket.socketBind
- wrong ELF class: ELFCLASS32
- Expiring Daemon because JVM heap space is exhausted
- How to fix java.lang.UnsupportedClassVersionError: Unsupported major.minor version
- -XX:MaxPermSize with or without -XX:PermSize
- A fatal error has been detected by the Java Runtime Environment: SIGSEGV, libjvm