When doing memory analysis in Java, TreeMap is found inside the object -
I'm new to memory analysis in Java.
I have performance report message , which is the cost of 25k memory to me:
When I look at the object in memory analysis in Eclipse, then I think inside a TreeMap The structure, which eats the most size of the whole object.
This is my question:
-
Where does the treemark come from? I do not have the TreeMap structure in the class definition.
-
I would like to reduce the size of the object as much as possible. Any possible way to do this?
1) It looks like this
quickfix.fix42. ExecutionReport is inside the object .. ??
Update: This is actually inside
quickfix.fix42.ExecutionReport , by which the succession increases the
quickfix.FieldMap class, in which two
TreeMaps
2) Remove the performance report from your exception and archive the field you need it.
Comments
Post a Comment