1
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 1 year has passed since last update.

OpenJ9系VMのダンプファイルからヒープダンプを取り出すメモ

Posted at

クラッシュして落ちると
core.20221028.xxxxxx.xxxxx.xxxx.dmp
のようなコアダンプ出力されるので、これを基に解析したときのメモ。

jdmpview

javaインストール先のbinの下にあるので起動する。

jdmpview -core core.20221028.xxxxxx.xxxxx.xxxx.dmp

コマンドを叩きヒープダンプをファイルに出力する。

> heapdump

core.20221028.xxxxxx.xxxxx.xxxx.dmp.phd
というファイルが作成される。

コアダンプ解析

Eclipse Memory Analyzer Tool の拡張版で先ほどのphdファイルを読み込む。
https://www.ibm.com/support/pages/eclipse-memory-analyzer-tool-dtfj-and-ibm-extensions

1
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?