I have an instance of Solr, hosted with Tomcat that recently started creating minidump files. There are no errors in any of logs, and Solr continues to work with out a hitch.
The files are approximately 14gb, and are filling up the hard drive. Is there a way to turn this off, while we investigate the issue?
To disable generation of MDMP files: Go to InstallerVars file. Change the option: - XXdumpsize to 'none', as per the below screenshot.
The file hs_err_pid. mdmp is a memory dump from a process crash. Any process can create this memory dump. You can safely remove them from server if you face any space issue in your environment.
Can you configure where and if . mdmp dump files are created? yes depends on operating system.
MDMP - Windows Minidump File On Windows computers, when a program throws an error or crashes, an MDMP file is created by the operating system. MDMP files are made up of compressed data that are comprised of a data dump from the crashed program's memory.
This article has decent information on both Linux and Windows JVM dump files. Have yet to test it myself on my current version of Java 7....
From that site:
Disabling Text dump Files
If you suspect problems with the creation of text dump files you can turn off the text dump file by using the option: -XXnoJrDump.
Disabling the Binary Crash Files
You can turn off the binary crash file by using the option: -XXdumpSize:none.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With