Details
-
Improvement
-
Status: Open
-
Minor
-
Resolution: Unresolved
-
None
-
None
-
None
-
ghx-label-2
Description
I recently analyzed a ~16GB heap dump of Catalog Server with jxray (www.jxray.com). It turns out that 7.5% of the heap is wasted by empty HashMap and ArrayList instances.
These objects come from just four data fields in two classes: IncompleteTable and StructType. It should be easy to get rid of the overhead of these objects by initializing them lazily.