Few options to try: 1. If you are on Windows/Linux/Solaris, try JRockit instead of the HotSpot VM.
http://www.oracle.com/technetwork/middleware/jrockit/downloads/index.html 2. If you are still on HotSpot try setting the JAVA_OPTS to a combination of the following options: -Xms512m -Xmx1024m -XX:+UseConcMarkSweepGC -XX:MaxPermSize=128m -XX:+CMSClassUnloadingEnabled -XX:+CMSPermGenSweepingEnabled Regards, Shantanu On May 25, 1:43 am, Michael Jaaka <michael.ja...@googlemail.com> wrote: > Hi! > > After few redeployments of system written in JEE I get "PermGen space" > error. > It occurs definitely after starting to use Clojure in a manner: > > some code goes to files.clj and then it is loaded and used like: > > RT.load(namespace, false); > var = RT.var(namespace, method.getName()); > var.invoke(); > > (3 lines above where just an example to show that we know what we are > talking about.) > > Any toughts? The application server is Glassfish 2.1.1 > > Bye! -- 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 Note that posts from new members are moderated - please be patient with your first post. 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