To clarify:

On Sun, Jan 25, 2009 at 3:08 PM, Greg Harman <ghar...@gmail.com> wrote:
>
> I believe you, but I don't understand why. I'm doing nothing but
> evaluate my test function over and over.

Exactly. This input is evaluated and compiled over and over.

> Since no new functions are
> being defined,

The expression to call your function was being defined over and over,
causing new classes to be generated.

This is a side-effect of eval, which the REPL is based upon.

> why would this evaluation use any PermGen?
>
> On Jan 25, 5:57 am, Christian Vest Hansen <karmazi...@gmail.com>
> wrote:
>> Clojure creates class not for every function call, but for every
>> function definition.
>>
>> The PermGen growth you see is the REPL compiling your input, most likely.
>
> >
>



-- 
Venlig hilsen / Kind regards,
Christian Vest Hansen.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To post to this group, send email to clojure@googlegroups.com
To unsubscribe from this group, send email to 
clojure+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/clojure?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to