How do I Enable Minidumps on Windows?
If you see something like this:
# # A fatal error has been detected by the Java Runtime Environment: # # EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x0000000000000000, pid=10700, tid=6032 # # JRE version: Java(TM) SE Runtime Environment (8.0_71-b15) (build 1.8.0_71-b15) # Java VM: Java HotSpot(TM) 64-Bit Server VM (25.71-b15 mixed mode windows-amd64 compressed oops) # Problematic frame: # C 0x0000000000000000 # # Failed to write core dump. Minidumps are not enabled by default on client versions of Windows # # An error report file with more information is saved as: # C:UsersNikIdeaProjectshydrogenhs_err_pid10700.log Compiled method (c2) 383 418 4 java.lang.StringBuilder::append (8 bytes) total in heap [0x0000000002c37b50,0x0000000002c38428] = 2264 relocation [0x0000000002c37c70,0x0000000002c37c98] = 40 main code [0x0000000002c37ca0,0x0000000002c38060] = 960 stub code [0x0000000002c38060,0x0000000002c38078] = 24 metadata [0x0000000002c38078,0x0000000002c380c0] = 72 scopes data [0x0000000002c380c0,0x0000000002c382e8] = 552 scopes pcs [0x0000000002c382e8,0x0000000002c383a8] = 192 dependencies [0x0000000002c383a8,0x0000000002c383b0] = 8 handler table [0x0000000002c383b0,0x0000000002c383f8] = 72 nul chk table [0x0000000002c383f8,0x0000000002c38428] = 48 # # If you would like to submit a bug report, please visit: # http://bugreport.java.com/bugreport/crash.jsp #
To get more information about this error message, then enable minidumps.
Enable minidumps through Advanced System Settings -> System Properties -> Startup and Recovery -> Settings -> Write debugging information: ‘Small memory dump (…)’.
You will have to reboot the machine, and then you will see fuller logs.
After rebooting, rerun the program to see the crash again and now it will have much more useful details.
Notice: You may also want to build debug so that the dump has more useful information
TheSoftwareProgrammer View All
I like science and writing software.
Leave a Reply