1

I got the OutOfMemoryError : Metaspace in my tomcat.
And I got heap dump file of jvm. (I use java8)

So I want to view only metaspace area in heap dump(hprof format), but I can't know how to do that.

I use MAT(Eclipse Memory Analyzer) to analyze the heap dump file.

Can I view only metaspace area?

Thanks.

SHRIN
  • 318
  • 3
  • 15
  • 1
    Refer link:- Basic Concepts of Java Heap Dump Analysis with MAT :- https://medium.com/@chrishantha/basic-concepts-of-java-heap-dump-analysis-with-mat-e3615fd79eb – Rajkumar Jun 05 '20 at 04:58

1 Answers1

2

There isn't direct metaspace information in a HPROF file. Your might have a class loader leak or duplicate classes. Try reading Permgen vs Metaspace in Java or The Unknown Generation: Perm

user13762112
  • 401
  • 3
  • 7