{"id":8182,"date":"2019-02-13T16:04:13","date_gmt":"2019-02-13T08:04:13","guid":{"rendered":"http:\/\/jpuyy.com\/?p=8182"},"modified":"2024-02-19T21:19:43","modified_gmt":"2024-02-19T13:19:43","slug":"jmap-heap-dump","status":"publish","type":"post","link":"https:\/\/jpuyy.com\/?p=8182","title":{"rendered":"jmap heap dump"},"content":{"rendered":"<blockquote class=\"wp-embedded-content\" data-secret=\"JYK3SxdLh1\"><p><a href=\"https:\/\/blog.gceasy.io\/2015\/08\/14\/how-to-capture-heap-dump-jmap\/\">HOW TO CAPTURE HEAP DUMP? \u2013 JMAP, &#8211; XX:+HEAPDUMPONOUTOFMEMORYERROR<\/a><\/p><\/blockquote>\n<p><iframe loading=\"lazy\" class=\"wp-embedded-content\" sandbox=\"allow-scripts\" security=\"restricted\" style=\"position: absolute; clip: rect(1px, 1px, 1px, 1px);\" title=\"&#8220;HOW TO CAPTURE HEAP DUMP? \u2013 JMAP, &#8211; XX:+HEAPDUMPONOUTOFMEMORYERROR&#8221; &#8212; GC easy - Universal Java GC Log Analyser\" src=\"https:\/\/blog.gceasy.io\/2015\/08\/14\/how-to-capture-heap-dump-jmap\/embed\/#?secret=slogAZ9AiI#?secret=JYK3SxdLh1\" data-secret=\"JYK3SxdLh1\" width=\"500\" height=\"282\" frameborder=\"0\" marginwidth=\"0\" marginheight=\"0\" scrolling=\"no\"><\/iframe><\/p>\n<blockquote class=\"wp-embedded-content\" data-secret=\"J6bAYZeyyy\"><p><a href=\"https:\/\/blog.gceasy.io\/2015\/08\/28\/jhat-heap-dump-analysis\/\">JHAT \u2013 HEAP DUMP ANALYSIS<\/a><\/p><\/blockquote>\n<p><iframe loading=\"lazy\" class=\"wp-embedded-content\" sandbox=\"allow-scripts\" security=\"restricted\" style=\"position: absolute; clip: rect(1px, 1px, 1px, 1px);\" title=\"&#8220;JHAT \u2013 HEAP DUMP ANALYSIS&#8221; &#8212; GC easy - Universal Java GC Log Analyser\" src=\"https:\/\/blog.gceasy.io\/2015\/08\/28\/jhat-heap-dump-analysis\/embed\/#?secret=XpsBwQruEW#?secret=J6bAYZeyyy\" data-secret=\"J6bAYZeyyy\" width=\"500\" height=\"282\" frameborder=\"0\" marginwidth=\"0\" marginheight=\"0\" scrolling=\"no\"><\/iframe><\/p>\n<p>\u5207\u6362\u5230\u8dd1 java \u8fdb\u7a0b\u6240\u7528\u7684\u7528\u6237<\/p>\n<pre>\r\n\r\n[ops@serv001.prod.dri etl] $ jmap -dump:live,file=\/tmp\/kafka_hdfs_1_minute.bin pid\r\n[ops@serv001.prod.dri etl] $ jmap -dump:live,file=\/tmp\/kafka_hdfs_15_minute.bin pid\r\n\r\n<\/pre>\n<p>\u7c7b\u4f3c\u7684\u5de5\u5177\u8fd8\u6709 jps, jstack, jmap, etc.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>HOW TO CAPTURE HEAP DUMP? \u2013 JMAP, &#8211; XX:+HEAPDUMPONOUTOFMEMORYERROR JHAT \u2013 HEAP DUMP ANALYSIS \u5207\u6362\u5230\u8dd1 java \u8fdb\u7a0b\u6240\u7528\u7684\u7528\u6237 [ops@serv001.prod.dri etl] $ jmap -dump:live,file=\/tmp\/kafka_hdfs_1_minute.bin pid [ops@serv001.prod.dri etl] $ jmap -dump:live,file=\/tmp\/kafka_hdfs_15_minute.bin pid \u7c7b\u4f3c\u7684\u5de5\u5177\u8fd8\u6709 jps, jstack, jmap, etc.<\/p>\n","protected":false},"author":3,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[215],"tags":[],"class_list":["post-8182","post","type-post","status-publish","format-standard","hentry","category-jvm"],"_links":{"self":[{"href":"https:\/\/jpuyy.com\/index.php?rest_route=\/wp\/v2\/posts\/8182","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/jpuyy.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/jpuyy.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/jpuyy.com\/index.php?rest_route=\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/jpuyy.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=8182"}],"version-history":[{"count":7,"href":"https:\/\/jpuyy.com\/index.php?rest_route=\/wp\/v2\/posts\/8182\/revisions"}],"predecessor-version":[{"id":9902,"href":"https:\/\/jpuyy.com\/index.php?rest_route=\/wp\/v2\/posts\/8182\/revisions\/9902"}],"wp:attachment":[{"href":"https:\/\/jpuyy.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=8182"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/jpuyy.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=8182"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/jpuyy.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=8182"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}