izeye
Friday, June 17, 2016
Spring Boot heap dump script
If you're using Spring Boot and creating an `application.pid`, you can create the following script to dump heap (live objects only):
jmap -dump:live,format=b,file=heap_dump.`date +%Y%m%d_%H%M%S`.hprof `cat application.pid`
No comments:
Post a Comment
‹
›
Home
View web version
No comments:
Post a Comment