ECJ-INTEREST-L Archives

February 2014

ECJ-INTEREST-L@LISTSERV.GMU.EDU

Options: Use Monospaced Font
Show HTML Part by Default
Condense Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Sender:
ECJ Evolutionary Computation Toolkit <[log in to unmask]>
Subject:
From:
Xiaomeng Ye <[log in to unmask]>
Date:
Tue, 11 Feb 2014 14:00:03 -0500
Content-Type:
multipart/alternative; boundary=089e01184bae4f5b3b04f2261026
MIME-Version:
1.0
Reply-To:
ECJ Evolutionary Computation Toolkit <[log in to unmask]>
Parts/Attachments:
text/plain (856 bytes) , text/html (1043 bytes)
Hello everyone,

I am trying to integrate lambda-calculus into the GP package of ECJ.
Everything works just like any GPIndividual, GPTree, GPNode, except that
the LambdaTree can go through a process of reduction, which produces a
minimal form of the LambdaTree.
Because I used cloning and the tree could be potentially huge, I keep
getting this error:
java.lang.OutOfMemoryError: Java heap space

Even after extended the JVM heapsize to 1 GB, I can only avoid it by
setting extremely small population size like 20 (which produces nothing
interesting as the population is too small). Other than that, the program
runs out of memory at some point.

Has anyone play with the cloning? Is there any pitfall? How is Java Garbage
collection treating those nodes? (If they are treated just like any other
java object, I think I might exploit cloning wrongly)

Thanks a lot!

Ye Xiaomeng


ATOM RSS1 RSS2