Most of the times this is a bug in the VM. But it can be caused by any native code (e.g. JNI calls).
The hs_err_pidXXX.log file should contain some information about where the problem happened.
You can also check the “Heap” section inside the file. Many of the VM bugs are caused by the garbage collection (expecially in older VMs). This section should show you if the garbage was running at the time of the crash. Also this section shows, if some sections of the heap are filled (the percentage numbers).
The VM is also much more likely to crash in a low memory situation than otherwise.
Related Posts:
- JVM Crash – “EXCEPTION_ACCESS_VIOLATION”
- Could not reserve enough space for object heap
- How to deal with “java.lang.OutOfMemoryError: Java heap space” error?
- How to deal with “java.lang.OutOfMemoryError: Java heap space” error?
- Could not reserve enough space for object heap
- “Error occurred during initialization of VM; Could not reserve enough space for object heap” using -Xmx3G
- What are the -Xms and -Xmx parameters when starting JVM?
- Java Could not reserve enough space for object heap error
- “Error occurred during initialization of VM; Could not reserve enough space for object heap” using -Xmx3G
- What is null in Java?
- How exactly does the Java interpreter or any interpreter work?
- Differences between “java -cp” and “java -jar”?
- What does -XX:MaxPermSize do?
- Understanding the difference between null and ‘\u000’ in Java
- Understanding the difference between null and ‘\u000’ in Java
- 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 to check if my string is equal to null?
- How do I use the JAVA_OPTS environment variable?
- Cannot assign requested address using ServerSocket.socketBind
- Returning null in a method whose signature says return int?
- How to check if object is null or not except == null
- Removing “NUL” characters
- How to check if object is null or not except == null
- wrong ELF class: ELFCLASS32
- How to fix java.lang.UnsupportedClassVersionError: Unsupported major.minor version
- -XX:MaxPermSize with or without -XX:PermSize
- Reverse a string in Java
- Is there any doubly linked list implementation in Java?
- What is a JavaBean exactly?
- java.lang.ClassNotFoundException: com.mysql.jdbc.Driver in Eclipse
- “Char cannot be dereferenced” error
- java.net.ConnectException: Connection refused
- Print ArrayList
- Unsupported major.minor version 52.0 [duplicate]
- What is a StringIndexOutOfBoundsException? How can I fix it?
- Exception in Application start method java.lang.reflect.InvocationTargetException
- Non-static variable cannot be referenced from a static context
- How to get an enum value from a string value in Java
- Round a double to 2 decimal places [duplicate]
- Returning Arrays in Java
- Why I am getting java.lang.AbstractMethodError errors?
- java.lang.ClassCastException
- org.springframework.beans.factory.BeanCreationException: Error creating bean with name ‘MyController’:
- Can I multiply strings in Java to repeat sequences?
- Why does cache use Most Recently Used (MRU) algorithm as evict policy?
- Difference between HashMap and Map in Java..?
- javac not working in windows command prompt
- Java returns error “Cannot instantiate the type”
- HashMap get/put complexity
- @Autowired – No qualifying bean of type found for dependency
- SSH library for Java
- Java ArrayList replace at specific index
- Exception in thread “main” java.lang.OutOfMemoryError: Java heap space
- What is the best math library to use with java?
- What’s up with Java’s “%n” in printf?
- ow to create a histogram in java
- java.io.IOException: Broken pipe
- Converting between java.time.LocalDateTime and java.util.Date
- Converting JSON to XML in Java
- Import a custom class in Java
- Default keystore file does not exist?
- The declared package does not match the expected package “”
- Sort a Map
by values - Downcasting in Java
- Is not an enclosing class Java
- FtpClient storeFile always return False
- Variable is accessed within inner class. Needs to be declared final
- Using NotNull Annotation in method argument
- How to implement infinity in Java?
- Java Does Not Equal (!=) Not Working?
- Why cannot the JVM auto expand heap memory to the configured Xmx3072m in linux & jdk1.6.0_32, and FullGC occurs very frequently
- How to fix the compiler error in this program?
- java constructor in class cannot be applied to given types
- “The public type <
> must be defined in its own file” error in Eclipse [duplicate] - How to calculate the intersection of two sets?
- How to determine an object’s class?
- Division of integers in Java
- Consider this code: “int s = 20; int t = s++ + –s;”. What are the values of s and t?
- Reading a .txt file using Scanner class in Java
- “\b” in Java – Windows implemented
- java.net.SocketException: Network is unreachable: connect
- Error: package or namespace load failed for ‘rJava’
- In Java, what is a shallow copy?
- package org.json does not exist when importing org.json.JSONObject
- How to add an element at the end of an array?
- Fields in interfaces
- How to print out all the elements of a List in Java?
- How to send data to COM PORT using JAVA?
- PrintWriter failing to print to file
- How can I convert my Java program to an .exe file?
- char initial value in Java
- What is the difference between local and instance variables in Java?
- Exception in thread “main” java.net.BindException: Address already in use – Error in Netbeans only
- Return outside method error
- How to define a relative path in java
- Java rules for casting
- No content to map due to end-of-input jackson parser