I use -XX:+UseConcMarkSweepGC.  And don't forget -Xmx, just having a
bigger heap can solve some problems.  Some people have found it
necessary to increase the PermGen size, but usually only for programs
that generate a lot of functions dynamically.

-SS


On Jan 7, 4:20 am, Gabi <bugspy...@gmail.com> wrote:
> Hello fellow Clojurians,
>
> I got lots of "java.lang.OutOfMemoryError: GC overhead limit exceeded
> " exceptions ,and after a short investigation added the following
> flags (JVM 1.6.0_17):
> -XX:+UseConcMarkSweepGC -XX:+CMSIncrementalMode -XX:
> +CMSIncrementalPacing
>
> These flags seems to solve the problem, but I am interested in your
> experience and best practices regarding JVM flags in clojure.
>
> I know it really depends on the type of the application, but it seems
> to me that the gc is working really hard under Clojure (I cannot prove
> it, this is just an impression)
>
> Gabi
-- 
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

Reply via email to