I tried to use hprof paramter to get the HPROF for memory usage checking. The command is like below.
javac -J-agentlib:hprof=heap=dump test.java
I got the hprof file. Based on trace ID, I can find most code which spend the memory from hprof file, but some of memory usage with trace id 300000, I can not find the valuable information for the memory usage from hprof file, It just marked as empty, and I don't know what exactly means for those memory usage , and which part is using that.
I atatched the sumary of hprof file and some trace id 3000000 below. Does someone know how we can find tracce 300000 memory usage?
CLS 5001b4bd (name=javax.lang.model.element.VariableElement, trace=300000)
CLS 5001b4be (name=javax.lang.model.element.Element, trace=300000)