Loretta, how many *nodes* do you your trees have? Depth isn't the
relevant variable. And I'm not sure exactly how you're gauging a
"depth of 4 or 6".
ECJ uses a lot of memory per node: about 35 bytes, not including
doubling for two populations, plus GC overhead. 4GB of RAM is HUGE
though, particularly with only 100 individuals. You must have
absolutely massive trees, or else there must be a bug somewhere.
Are you keeping the old trees around perhaps?
On Oct 26, 2006, at 1:00 PM, Loretta Macklem wrote:
> Hi everyone,
> I have written a GP to solve the Royal Tree problem. It works very
> well for trees with a depth of 4 or 6. However, when I go to depth
> of 10(100 generations, 100 individuals in population) I am running
> into large memory usuage. Has anyone else noticed large depth trees
> taking a large amount of memory? I.E. it looks as though I need at
> least 4 GB of RAM for it to work. If you have had this problem, did
> you make a change to use less memory and if so what was it? Just
> curious is this is a normal occurance.
> Thank You,
> Loretta Macklem