Recently upgraded from Java 6 to Java 7, for a Tomcat 7 server (everything 32-bit). Due to some underlying Windows 2008 driver issues, we sometimes get fatal Java errors. They were harmless when we were running Java 6 because the Tomcat process just restarted.
Following the upgrade to Java 7, though, Java now flushes 500 megabytes of memory to disk every time there is a crash/restart. This easily fills up the harddrive over time. Does anyone know how to disable these mini dumps in Java 7?
For reference, both before and after the error I would see log files such as "C:\Program Files\Apache Software Foundation\Tomcat 7.0\hs_err_pid1234.log", but the difference is the new ones contain the line:
Whereas this line was not present when running Java 6, nor was the giant mdmp file. Any suggestions?
What Java options are being passed while starting the server? I haven't checked the Oracle Java 7 release, but I think in Java 6 it was the other way around - you had to explicitly pass a param to enable this kind of logging/dump.