AFAIK, a new class is created when js is compiled. the non-heap memory
[PermGen space in this case] is used, but it also gets garbage
collected of the classes that are not used any more.
It doesn't grow infinitely, when it gets full it says:
Java.lang.OutOfMemoryError: PermGen space
you can control its size with -XX:MaxPermSize jvm parameter.
gabi
> --
> You received this message because you are subscribed to the Google Groups
> "mozilla-rhino" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to
mozilla-rhin...@googlegroups.com.
> For more options, visit
https://groups.google.com/groups/opt_out.