I have a huge heap dump (around 12GB) and it will take forever to open it with MAT
or jvisualvm
. I only want to get the thread dump out of it without indexing the objects. Is it possible with the above or any other tools?
Asked
Active
Viewed 1,168 times
4

Vic
- 21,473
- 11
- 76
- 97
-
Is that a file obtained with `jmap`? – fge Feb 08 '15 at 09:22
2 Answers
1
Had the same problem recently.
I just pushed the project doing it on GitHub. I know, it is way too late, but probably will save some time to someone in future.

Average Joe
- 643
- 5
- 15
-
-
-
Is this tool is still available somewhere? (GitHub shows HTTP 404 instead) – Toparvion Mar 16 '22 at 04:20
0
The latest snapshot versions of Memory Analyzer (preview of 1.11) have the ability to discard objects on parse. Having a discard ratio of 100% with a pattern of (?!.Thread). would discard all objects except those of a type with 'Thread' in the classname. That might speed up parsing, though the parsed dump would be nearly useless, but it would have a thread dump (but without thread names or local variables) which might be enough for your purposes.

user13762112
- 401
- 3
- 7