AppD Archive

OOM Issues due to AppDynamics Class

CommunityUser
Splunk Employee
Splunk Employee

Hi,

We are having the Memory Leaks issues in one our Integration environment’s ,

which is causing crashing of servers with Out of memory, upon checking with Oracle team they have suggested us with then class com.singularity.ee.agent.util.bc (which is AppDynamics Class) to verify if this is causing high heap memory.

Could you please check and let us know.

 
Update from Oracle:

==> From Heapdump could see that 492MB of heap is occupied by the class "com.singularity.ee.agent.util.bc" 
com.singularity.ee.agent.util.bc @ 0x106907310 
Shallow Size: 24 B Retained Size: 491.7 MB
 

 

Error Logs: 

Feb 17, 2016 1:09:45 PM EST> <Notice> <Stdout> <BEA-000000> <Hibernate: select amsemailun0_.ACCT_NUM as ACCT1_980_, amsemailun0_.EMAIL_UNDELIVERABLE as EMAIL2_980_, amsemailun0_.CREATED_TS as CREATED3_980_, amsemailun0_.UPDATED_TS as UPDATED4_980_, amsemailun0_.APPLN_USER as APPLN5_980_ from EMAIL_UNDELIVERY amsemailun0_ where (amsemailun0_.ACCT_NUM=? )> 
java.lang.OutOfMemoryError: allocLargeObjectOrArray: [J, size 515551976 
at jrockit/vm/Allocator.allocLargeObjectOrArray(JIZ)Ljava/lang/Object;(Native Method) 
at jrockit/vm/Allocator.allocObjectOrArray(Allocator.java:349) 
at jrockit/vm/Allocator.allocArray(Allocator.java:257) 
at com/singularity/ee/agent/util/bc.b(bc.java:336) 
at com/singularity/ee/agent/util/bc.f(bc.java:91) 
at com/singularity/ee/agent/appagent/services/transactionmonitor/common/lh.b(lh.java:832) 
at com/singularity/ee/agent/appagent/services/transactionmonitor/common/k.a(k.java:720) 
at com/singularity/ee/agent/appagent/services/transactionmonitor/common/k.a(k.java:225) 
at com/singularity/ee/agent/appagent/services/bciengine/b.onMethodBegin(b.java:32) 
at com/singularity/ee/agent/appagent/services/transactionmonitor/common/k.onMethodBegin(k.java:128) 
at com/singularity/ee/agent/appagent/kernel/bootimpl/FastMethodInterceptorDelegatorImpl.safeOnMethodBeginNoReentrantCheck(FastMethodInterceptorDelegatorImpl.java:316) 
at com/singularity/ee/agent/appagent/kernel/bootimpl/FastMethodInterceptorDelegatorImpl.safeOnMethodBegin(FastMethodInterceptorDelegatorImpl.java:258) 
at com/singularity/ee/agent/appagent/entrypoint/bciengine/FastMethodInterceptorDelegatorBoot.safeOnMethodBegin(FastMethodInterceptorDelegatorBoot.java:67) 
at com/comcast/core/framework/configuration/ConfigurationManagerImpl.createNewPropName(ConfigurationManagerImpl.java:625)  
at 
com/comcast/core/framework/configuration/ConfigurationManagerImpl.getLong(ConfigurationManagerImpl.java:723) 
at com/comcast/fulfillment/salesportalcbconnectionmgr/cb/CBClusterController$4.run(CBClusterController.java:406)  
at java/util/concurrent/ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:895) 
at java/util/concurrent/ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:918) 
at java/lang/Thread.run(Thread.java:682) 
at jrockit/vm/RNI.c2java(JJJJJ)V(Native Method) 
-- end of trace 
JRockit aborted: Exit requested on OOM (51) 

Arun_Dasetty
Super Champion

Hi Dinesh,

Can you share agent logs for this? Are you using latest agent 4.2.x, if not, can you please upgrade agent to 4.2.14 and see how it goes? post agent upgrade and jvm restart ,if your UI is already 4.2.0 or higher agent version 4.2.14 will work with any UI 4.2.x version.

0 Karma
Get Updates on the Splunk Community!

See just what you’ve been missing | Observability tracks at Splunk University

Looking to sharpen your observability skills so you can better understand how to collect and analyze data from ...

Weezer at .conf25? Say it ain’t so!

Hello Splunkers, The countdown to .conf25 is on-and we've just turned up the volume! We're thrilled to ...

How SC4S Makes Suricata Logs Ingestion Simple

Network security monitoring has become increasingly critical for organizations of all sizes. Splunk has ...