Java system generating more dumps and file is filling completely. i saw some of the notes and threads but still not able to find problem and solution.
please help me to solve this issue.
under usr/sap/sid/instance/j2ee/cluster we have dumps folder is having around 76 gb and another folder apps is also having around 20 gb.
please help me clear this issue.
please find error screenshots.
Thanks in advance.
I would download the SAP Memory Analyzer and parse the heap dump. You can get more information from http://wiki.sdn.sap.com/wiki/display/Java/Java+Memory+Analysis. This should help you determine what is cause the dump and from there which steps to take.
Can you please check if all your JVM parameters are set correctly. They contain meny memory related parameters too.
Please refer to SAP notes 723909 or if you are using SAPJVM, please see note 1603093.
If you want to stop generation of heap dumps, please remove JVM parameter XX:+HeapDumpOnOutOfMemoryError, if set. Please refer to SAP note 1004255 for details.,
However, it is recommended to analyze these dumps so that you can find out the root cause before removing the parameter.
Hi Venkat ,
Hope you are doing good.
It seems that the engine has gone down due to severe memory restraints. When the engine goes down due to heap issues, there are 2 main steps inorder to resolve the case:
1) Make sure that the j2ee parameters and the server on the whole is configured correctly so that optimum performance can be obtained.
2) If 1) does not help, there may be a application causing a memory leak. We need to identify this and fix the issue.
Even if you remove the JVM parameters, there are OS-related options that maybe causing the dump. Please check the current settings of JAVA_DUMP_OPTS, JAVA_DUMP_TOOL and other parameters/ environment variables of the user <sid>adm. Incase of issues, kindly get in touch with the OS team.
Please consult the official documentation of your vendor, for example:
There are several specific solutions mentioned:
- using DISABLE_JAVADUMP;
- using IBM_JAVADUMP_OUTOFMEMORY.
Thank you and have a nice day :).
What system in your IX4 - BI/ECC ?
If you want to find the root cause you have to use any of the Heap Dump analyzer tools. You can also use Solution Manager.
As a workaround you can increase the server nodes.
Can you check the Garbage Collection history ?
As recommended by Samik above you should definitely analyze the heap dumps using a memory analyzer.
If you are still experiencing heap dumps then probably your heap size is too low. Have you tried to increase it ? what is it currently set at ?
This Out Of Memory issue is very common in SAP Java stack. I see your Java Heap memory is configured at 2048MB. As suggested above you an increase this to 3 GB as an interim solution (Please refer corresponding SAP Note for your operating system and JVM version to adjust other related parameters)
Also, how many server nodes do you have in your application server? And what type of system is this ? Did you try increasing server nodes ?
i have increased heap memory to 3 gb but no use.
when i go and check NWA logs i observers there are some SLD error coming first then it is showing OOM error.
not sure will it related to OOM ?
Thanks in advance,
Can you try analyzing the Heap Dumps to identify which application consuming all the memory ? You can use Eclipse Memory Analyzer. Check this link-
BI system Java application memory footprint can be higher, so you can think of increasing server nodes as a tuning measure if the dumps are appearing frequently.
Finally am able to close this issue.
Actually issue is with SLD and it got resolved by applying latest patches for components J2EE ENGINE LM-CORE 7.11 and J2EE ENGINE FRAMEWORK
Check this note 1500151 - Out-of-memory error during system registration in SLD
Thanks to all for your time.