[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Problem

On Mon, 14 May 2001, Tim Brown wrote:
> Hi,
> I am getting a "out of memory error" when I iterate over a lot of
> objects.  At least I think that is what is happening.  I have ozone
> objects that iterate over other ozone objects - inside the database vm.
> I model stars which have planets which have sectors.  If I build the
> thing with 25 stars it works fine.  I bumped it up to 100 and it got the
> out of memory error.  It was at that time iterating over the list of
> stars, planets.  I use Hashtables and iterate with the Enumerator.  When
> I instantiate a Enumerator, does that put all of the obje3cts into
> memory?

Do you go "through" the objects or just "over" it. That is, are the recursive
calls are actually done from inside the database objects or from an object that
implements the algorithm outside the database objects (like the XML DOM model).
How deep is the recursion?

Falko Braeutigam                              mailto:falko@smb-tec.com
SMB GmbH                                        http://www.smb-tec.com