The problem is simply the Map being there at all. It increases the memory footprint of the PersistentCollection regardless of how much data is even there (even none)