I used TreeSets as well, and they do fine. It's not the TreeSets which are the real memory issue for Jason, I suspect.