This is a great post. However, the author brings up an issue with the
way that lambdas are handled by the JVM. According to the article,
lambdas are not garbage collected and can therefore overrun the
PermGen, a special place in the heap for storing anonymous classes,
and as a result, the user must increase the size of the PermGen area
to allow the program to run without running out of memory. I'd love to
hear a little more about this issue if anyone happens to know more
about it. Is this truly an issue with the current implementation of
Clojure running on the JVM or is this more of an issue with the way
the author coded up his solution? If the former is true, does anyone
know if there are any plans to correct it? If it's the latter,
however, can someone please point out the problems with the author's
implementation and give some suggestions on how we can avoid similar
mistakes.
Thanks,
Christopher
>
http://npcontemplation.blogspot.com/2009/01/clojure-genetic-mona-lisa...