Skip to main content
NetApp Knowledge Base

Java throws HeapDumpOnOutOfMemoryError exceptions for the acquisition unit service in API-S

Views:
76
Visibility:
Public
Votes:
0
Category:
oncommand-api-services-api-s
Specialty:
om
Last Updated:

Applies to

  • OnCommand API Service 2.2P1 in Linux (API-S)

Issue

  • Java throws HeapDumpOnOutOfMemoryError exceptions 
  • Large Heap dump files are created in /var/log/ocie with .hprof extension which fill up the filesystem

Example name of the file: java_pid9127.hprof

  • Executing command ps -aux | grep 9127 gives us the following output:

jboss     9127     1 99 Jun16 ?        203-01:22:05 java -Djna.tmpdir=/opt/netapp/data/tmp -Djava.io.tmpdir=/opt/netapp/data/tmp -D https.protocols=TLSv1,TLSv1.1,TLSv1.2 -Dlog4j.configurationFile=ocie-production.xml 
-Donaro.home=/opt/netapp/essentials -Dcodebase= https://localhost:8443 -Djava.library.path=/opt/netapp/essentials/au/bin -Dacq.home=/opt/netapp/essentials/au -Djava.security.properties=/opt/netapp/essentials/au/conf/java.security 
-Djava.rmi.server.hostname=localhost -Xmx2163m -Xms256m -XX:PermSize=64m -XX:MaxPermSize=256m -classpath /opt/netapp/essentials/au/conf:/opt/netapp/essentials/au/*:/opt/netapp/essentials/au/lib/*:/opt/netapp/essentials/au/lib/xml/xerces/*:
/opt/netapp/essentials/au/lib/xml/jdom/*:/opt/netapp/essentials/au/lib/jboss/client/*:/opt/netapp/essentials/au/lib/xml-3rd/*:/opt/netapp/essentials/au/lib/shared/* -Dno.trap=false -XX:+HeapDumpOnOutOfMemoryError -XX:HeapDumpPath=/var/log/ocie 
-XX:ErrorFile=/var/log/ocie/au_error_%p.log -DJDBC_DRIVER=org.mariadb.jdbc.Driver -Djava.net.preferIPv6Stack=true -Djava.net.preferIPv6Addresses=true -verbose:gc -Xloggc:/var/log/ocie/gc_au.log -XX:+PrintGCDateStamps -XX:+PrintGCDetails 
-XX:+UseGCLogFileRotation -XX:NumberOfGCLogFiles=10 -XX:GCLogFileSize=5M -XX:+UseG1GC -XX:+UseStringDeduplication -XX:+PrintTenuringDistribution com.onaro.sanscreen.acquisition.framework.Main start

  • We see that the XMX value is 2163m​​​​​​ for the acquisition unit service.

 

CUSTOMER EXCLUSIVE CONTENT

Registered NetApp customers get unlimited access to our dynamic Knowledge Base.

New authoritative content is published and updated each day by our team of experts.

Current Customer or Partner?

Sign In for unlimited access

New to NetApp?

Learn more about our award-winning Support