Hello, I am trying to instrument a JBOSS EAP jvm using dynatrace appmon 7. As soon as the JVM is started the application throws OutOfMemory exception on instrumentation.
I am clueless about this issue. Pl. help troubleshooting this issue.
Also, I have been suggested to to use the xms/xmx Java_OPTS settings along with agentpath but I am not aware of this setting. Pl. guide through the workaround urgently.
Solved! Go to Solution.
The XMS / XMX are standard JVM options and have nothing to do with AppMon. So simply try to increase the XMX value.
Please not there are different OutOfMemory exceptions. Also GC overhead may trigger this.
Provide exact stack trace and command line.
Hi Herald, Thanks for replay.
I have used the below argument to specify these params in appropriate place in starting batch file:
set "JAVA_OPTS=%JAVA_OPTS% -Xms1G -Xmx1G -XX:MaxPermSize=256M -agentpath:"C:\dynatrace7\agent\lib64\dtagent.dll"=name=MyUatAgent_89,server=10.24.11.12:9998"
After this, the server is not going OOM. It is kept under monitoring.