Ok guys,

After trying all your suggestions, here is the combination that worked
best for me (in the order of their impact solving the problem):

JVM_FLAGS="-server  \
-XX:+UseConcMarkSweepGC
-XX:+CMSIncrementalMode \
-XX:+UseCompressedOops \
-XX:+DoEscapeAnalysis \
-XX:+UseBiasedLocking \
-XX:PermSize=64M \
-XX:MaxPermSize=256M \
-Xmx2g"


Now my app consumes  ~500M of resident memory, but at least does not
crash and performance does not deteriorate.

BTW, I also tried the 'new' branch suggested . Didn't see any
noticeable effect.

On Jan 8, 4:40 am, Seth <[email protected]> wrote:
> Hi Gabi,
>
> This may not be useful, but have you tried running the Clojure new
> branch? Rich implemented fine-grained locals clearing on the new
> branch, and it helps avoid holding onto unused data accidentally.
>
> http://groups.google.com/group/clojure/browse_thread/thread/14baed8f2...
>
> Seth
-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to [email protected]
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en

Reply via email to