Home How to caputure HeapDumpOnOutOfMemoryError
Reply: 0

How to caputure HeapDumpOnOutOfMemoryError

user537
1#
user537 Published in June 20, 2018, 11:04 pm

I've deployed an application in tomcat 7.0.55 for testing.I want to capture whether "HeapDumpOnOutOfMemoryError" is occurring or not . Following are my JVM parameters.

JAVA_OPTS="-server -Xms512M -Xmx2048M -XX:PermSize=256m -XX:MaxPermSize=512m -XX:+UseConcMarkSweepGC -XX:+UseParNewGC -XX:ThreadStackSize=512 -XX:+HeapDumpOnOutOfMemoryError -XX:HeapDumpPath=/apps/dumps/"

I don't see any file under the directory. Does it create a file under the directory or i've to manually create a file to append ?

You need to login account before you can post.

About| Privacy statement| Terms of Service| Advertising| Contact us| Help| Sitemap|
Processed in 0.310522 second(s) , Gzip On .

© 2016 Powered by mzan.com design MATCHINFO