Environment variables and Javadump

Although the preferred mechanism of controlling the production of Javadumps is now by the use of dump agents using -Xdump:java, you can also use the previous mechanism, environment variables.

The following table details environment variables specifically concerned with Javadump production:

Environment Variable Usage Information
DISABLE_JAVADUMP Setting DISABLE_JAVADUMP to true is the equivalent of using –Xdump:java:none and stops the default production of javadumps.
IBM_JAVACOREDIR The default location into which the Javacore will be written.
JAVA_DUMP_OPTS Use this environment variable to control the conditions under which Javadumps (and other dumps) are produced. See Dump agent environment variables for more information.
IBM_JAVADUMP_OUTOFMEMORY By setting this environment variable to false, you disable Javadumps for an out-of-memory exception.


© Copyright IBM Corporation 2005, 2010. All Rights Reserved.
© Copyright Sun Microsystems, Inc. 1997, 2007, 901 San Antonio Rd., Palo Alto, CA 94303 USA. All rights reserved.
US Government Users Restricted Rights - Use, duplication or disclosure restricted by GSA ADP Schedule Contract with IBM Corp.
This information center is powered by Eclipse technology. (http://www.eclipse.org/)