N
N
nuclear_kote2020-12-02 13:43:35
Java
nuclear_kote, 2020-12-02 13:43:35

How to analyze huge out of memory hprof?

eclipse memory analyzer and jprofiler crash with oom. hprof 45 gigs

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
Vest, 2020-12-02
@Vest

Prior to Java 9, there was once a console tool jhat . Try them.
I know that Oracle advises to use VisualVM , you can try it. But I don't know how he will behave. Did not work with him in conditions of limited memory.
Sorry if my answer didn't work for you. I would advise you to reduce the heap, and try dropping java again. If you are analyzing a memory leak, then it should happen on smaller heaps as well. At worst, you can profile memory allocation in a running java to find out who is allocating so many megabytes in the heap.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question