Uploaded image for project: 'Drools'
  1. Drools
  2. DROOLS-833

PermGen issue with Kie CI

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Obsolete
    • Icon: Major Major
    • None
    • 6.2.0.Final
    • core engine
    • None
    • RHEL 6.5, JDK 1.7.0_71, Wildfly 8.2, Sonatype Nexus 2.11.3-0

    • Hide

      Restart Wildfly, add new rules to the Nexus, after some hours permgen is loading up with these classes.

      Show
      Restart Wildfly, add new rules to the Nexus, after some hours permgen is loading up with these classes.
    • NEW
    • NEW

      We're facing a lot of issues with permgen OOM errors while using the KIE CI implementation to get the rules during runtime from a Nexus host.

      A jmap analysis shows that 414MB of dead permgen is produced by org/eclipse/sisu/space/CloningClassSpace$CloningClassLoader@0x00000007ef60b6a0

      With a dependency tree analysis it's shown, that only kie CI uses the sisu classes:
      +- org.kie:kie-ci:jar:6.2.0.Final:compile
      [INFO] | +- org.apache.maven:maven-artifact:jar:3.2.2:compile
      [INFO] | +- org.apache.maven:maven-core:jar:3.2.2:compile
      [INFO] | | +- org.apache.maven:maven-repository-metadata:jar:3.2.2:compile
      [INFO] | | +- org.codehaus.plexus:plexus-interpolation:jar:1.19:compile
      [INFO] | | +- org.codehaus.plexus:plexus-component-annotations:jar:1.5.5:compile
      [INFO] | | - org.sonatype.plexus:plexus-sec-dispatcher:jar:1.3:compile
      [INFO] | +- org.apache.maven:maven-model:jar:3.2.2:compile
      [INFO] | +- org.apache.maven:maven-model-builder:jar:3.2.2:compile
      [INFO] | +- org.apache.maven:maven-plugin-api:jar:3.2.2:compile
      [INFO] | +- org.apache.maven:maven-settings:jar:3.2.2:compile
      [INFO] | +- org.apache.maven:maven-settings-builder:jar:3.2.2:compile
      [INFO] | +- org.apache.maven:maven-compat:jar:3.2.2:compile
      [INFO] | +- org.apache.maven:maven-aether-provider:jar:3.2.2:compile
      [INFO] | +- org.apache.maven.wagon:wagon-provider-api:jar:1.0:compile
      [INFO] | +- org.codehaus.plexus:plexus-classworlds:jar:2.5.1:compile
      [INFO] | +- org.codehaus.plexus:plexus-utils:jar:3.0.17:compile
      [INFO] | +- org.eclipse.aether:aether-api:jar:1.0.0.v20140518:compile
      [INFO] | +- org.eclipse.aether:aether-util:jar:1.0.0.v20140518:compile
      [INFO] | +- org.eclipse.aether:aether-impl:jar:1.0.0.v20140518:compile
      [INFO] | +- org.eclipse.aether:aether-connector-basic:jar:1.0.0.v20140518:compile
      [INFO] | +- org.eclipse.aether:aether-spi:jar:1.0.0.v20140518:compile
      [INFO] | +- org.eclipse.aether:aether-transport-wagon:jar:1.0.0.v20140518:compile
      [INFO] | +- org.eclipse.aether:aether-transport-file:jar:1.0.0.v20140518:compile
      [INFO] | +- org.eclipse.aether:aether-transport-http:jar:1.0.0.v20140518:compile
      [INFO] | | - org.slf4j:jcl-over-slf4j:jar:1.6.2:compile
      [INFO] | +- org.eclipse.sisu:org.eclipse.sisu.plexus:jar:0.0.0.M5:compile
      [INFO] | | - org.eclipse.sisu:org.eclipse.sisu.inject:jar:0.0.0.M5:compile
      [INFO] | +- org.apache.ant:ant:jar:1.8.2:compile
      [INFO] | | - org.apache.ant:ant-launcher:jar:1.8.2:compile
      [INFO] | +- org.apache.maven.wagon:wagon-http:jar:2.0:compile
      [INFO] | | - org.apache.maven.wagon:wagon-http-shared4:jar:2.0:compile
      [INFO] | | - org.jsoup:jsoup:jar:1.6.1:compile
      [INFO] | +- org.sonatype.plexus:plexus-cipher:jar:1.4:compile
      [INFO] | - org.sonatype.sisu:sisu-guice:jar:no_aop:3.1.0:compile
      [INFO] | - aopalliance:aopalliance:jar:1.0:compile

      The most current version of the sisu implementation is 0.3.1 while kie-ci is using 0.0.0.M5. Maybe this is related to a bug in sisu with this old version.

      Is it possible to include a newer version of sisu with ki-ci?

              mfusco@redhat.com Mario Fusco
              pieperch C R (Inactive)
              Votes:
              1 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: