i'm creating thousands of objects within a tree structure. at one point, i choose a child of the root to be the new root. here's the process, in a nutshell...
newRoot = root.favoredChild;
newRoot.parent = null;
root = newRoot;
i seem to be running out of memory, though, which leads me to believe that somehow a lot of these objects are not becoming garbage collected, and i'd like to find out whether or not they are; then, if they're not, i'd like to find out why not. is there a good way of finding this out?
Liam Morley
lmorley@wpi.edu
"light the deep, and bring silence to the world.
light the world, and bring depth to the silence."
newRoot = root.favoredChild;
newRoot.parent = null;
root = newRoot;
i seem to be running out of memory, though, which leads me to believe that somehow a lot of these objects are not becoming garbage collected, and i'd like to find out whether or not they are; then, if they're not, i'd like to find out why not. is there a good way of finding this out?
Liam Morley
lmorley@wpi.edu
"light the deep, and bring silence to the world.
light the world, and bring depth to the silence."