array fragmentation
Manage by the JVM memory manager.
Simple Node Object
A node is modeled as a simple class with name code attribute, parent node reference, child node array and attribute set.
1obj+2arr+4ref+1int = 52Bytes

The object (2 refs), 2 arrays (2x3 refs), parent, children, attribute refs, 1 ref in the parent's child or attribute array and 1 integer name code.

Of course the arrays could be empty and set to null => 28Bytes.

/livcos.org/data/map/brainstorm/DomImplementation