<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body text="#000000" bgcolor="#ffffff">
    Hi Joe,<br>
    <br>
    Thanks for correcting me.<br>
    This image indeed proves your point:<br>
    &nbsp; <a class="moz-txt-link-freetext" href="http://java.sun.com/docs/hotspot/gc5.0/fig4.gif">http://java.sun.com/docs/hotspot/gc5.0/fig4.gif</a><br>
    As well as this thread:<br>
    &nbsp;
<a class="moz-txt-link-freetext" href="http://www.velocityreviews.com/forums/t683307-question-on-xms-xmx-and-xx-maxpermsize-in-jvm-start-parameter.html">http://www.velocityreviews.com/forums/t683307-question-on-xms-xmx-and-xx-maxpermsize-in-jvm-start-parameter.html</a><br>
    <br>
    Very interesting, I had it wrong for years.<br>
    <br>
    Op 09-02-12 13:27, Joe Ammann schreef:
    <blockquote cite="mid:4F33BB94.5000400@pyx.ch" type="cite">
      <meta content="text/html; charset=ISO-8859-1"
        http-equiv="Content-Type">
      On 02/09/2012 09:34 AM, Geoffrey De Smet wrote:
      <blockquote cite="mid:jh00e5$6v6$1@dough.gmane.org" type="cite">
        <pre wrap="">The perm gen space is a subset of the heap space.
So it doesn't make sense to put them on the same value.

Try this instead:
    -Xmx1024m -XX:MaxPermSize=512m
Or, if that fails:
    -Xmx2048m -XX:MaxPermSize=1024m

</pre>
      </blockquote>
      Sorry to disagree Geoffrey, but PermGen is NOT a part of heap in
      all (Sun) JVM's that I'm aware of. See<br>
      <br>
      <a moz-do-not-send="true" class="moz-txt-link-freetext"
href="http://stackoverflow.com/questions/2129044/java-heap-terminology-young-old-and-permanent-generations">http://stackoverflow.com/questions/2129044/java-heap-terminology-young-old-and-permanent-generations</a><br>
      <a moz-do-not-send="true" class="moz-txt-link-freetext"
        href="http://www.oracle.com/technetwork/java/gc-tuning-5-138395.html">http://www.oracle.com/technetwork/java/gc-tuning-5-138395.html</a>
      (the picture a few pages down)<br>
      <br>
      So the sizes are specified separately. But having a MaxPerm of 1G
      and STILL see PermGen OOM is strange.<br>
      <br>
      The problem could be, that when using the CMS (concurrent mark
      sweep) GC, PermGen is not collected. I have seen cases where
      sooner or later OOM PermGen errors happened consistently, until we
      added <br>
      <br>
      <code>-XX:+CMSPermGenSweepingEnabled</code><br>
      <pre class="moz-signature" cols="72">-- 
CU, Joe</pre>
      <pre wrap="">
<fieldset class="mimeAttachmentHeader"></fieldset>
_______________________________________________
rules-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org</a>
<a class="moz-txt-link-freetext" href="https://lists.jboss.org/mailman/listinfo/rules-users">https://lists.jboss.org/mailman/listinfo/rules-users</a>
</pre>
    </blockquote>
    <br>
    <pre class="moz-signature" cols="72">-- 
With kind regards,
Geoffrey De Smet</pre>
  </body>
</html>