ret = nodeToEvict.getDataCount();
// lets first evict all the children
for( int i = 0; i < nodeToEvict.getChildrenCount(); i++ ) {
Node n = readNode(nodeToEvict.getChildIdentifier(i));
ret += n.getDataCount();
n.clear();
writeNode(n);
evictcnt++;
}
// now evict the main node
nodeToEvict.clear();