How to stop the creation of heap files, Java kernel files that are created in the JVM. Instance?

In one instance of our server, heapdump, javacore, Snap files are created. How to stop creating these files. Please help me with this. Because heap files make our application slow and must remove it and reuse instances.

+4
source share
3 answers

Your application is slow, possibly due to some memory problems. Disabling these dumps, although easy (just add a -Xdump:noneJVM argument ), will not solve the root cause of the problem.

javacore , , :

1TISIGINFO     Dump Event

, :

Detail "java/lang/OutOfMemoryError" "Java heap space" received

, heapdumps :

, "Leak Suspects" .

, JVM , ( , , : http://www-01.ibm.com/support/docview.wss?uid=swg21584396) zip Memory Analyzer. , .

!

+7

:

  • ( ). . ,
  • , , ​​ . , , JVM - Java
  • , , , .
+1

Select Servers> Application Servers in the navigation tree of the administrative console.
Click ServerName> Performance and Diagnostic Advisor Configuration.
Click the Runtime tab.
Select the Enable automatic heap dump dumping check box.
Click OK

-one
source

All Articles