[rules-users] OutOfMemoryError: GC overhead limit exceeded

Geoffrey De Smet ge0ffrey.spam at gmail.com
Thu Jun 24 12:38:46 EDT 2010


An "OutOfMemoryError: GC overhead limit exceeded" issue was fixed for 
5.1, see 
http://blog.athico.com/2010/03/drools-halves-memory-use-with-new-true.html

With kind regards,
Geoffrey De Smet


Jeffrey Schneller schreef:
> I saw a similar thread about this back in March but I am now seeing a 
> similar exception being thrown.  I am running 5.0.1.  The error is 
> thrown in my app after the change set listener determines there was a 
> change with the rules package in the Guvnor.   I have included the stack 
> trace from the most recent time the exception was thrown.  Hopefully 
> someone can provide some additional information or a workaround.  Has 
> this problem been fixed in 5.1?  If so, has 5.1 moved out of M2 state 
> and into a CR state and when will it go into a full released state?
> 
>  
> 
> Exception in thread "Thread-44" java.lang.OutOfMemoryError: GC overhead 
> limit exceeded
> 
>        at org.drools.rule.GroupElement.<init>(GroupElement.java:44)
> 
>        at org.drools.rule.GroupElement.<init>(GroupElement.java:47)
> 
>        at sun.reflect.GeneratedConstructorAccessor61.newInstance(Unknown 
> Source)
> 
>        at 
> sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
> 
>        at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
> 
>        at java.lang.Class.newInstance0(Class.java:355)
> 
>        at java.lang.Class.newInstance(Class.java:308)
> 
>        at org.drools.rule.GroupElement.clone(GroupElement.java:267)
> 
>        at org.drools.rule.GroupElement.clone(GroupElement.java:279)
> 
>        at org.drools.rule.Rule.getExtendedLhs(Rule.java:518)
> 
>        at org.drools.rule.Rule.getTransformedLhs(Rule.java:545)
> 
>        at 
> org.drools.reteoo.builder.ReteooRuleBuilder.addRule(ReteooRuleBuilder.java:98)
> 
>        at org.drools.reteoo.ReteooBuilder.addRule(ReteooBuilder.java:117)
> 
>        at org.drools.reteoo.ReteooRuleBase.addRule(ReteooRuleBase.java:362)
> 
>        at 
> org.drools.common.AbstractRuleBase.addRule(AbstractRuleBase.java:618)
> 
>        at 
> org.drools.common.AbstractRuleBase.addPackages(AbstractRuleBase.java:500)
> 
>        at 
> org.drools.reteoo.ReteooRuleBase.addPackage(ReteooRuleBase.java:388)
> 
>        at 
> org.drools.agent.impl.KnowledgeAgentImpl.rebuildResources(KnowledgeAgentImpl.java:416)
> 
>        at 
> org.drools.agent.impl.KnowledgeAgentImpl.applyChangeSet(KnowledgeAgentImpl.java:120)
> 
>        at 
> org.drools.agent.impl.KnowledgeAgentImpl$ChangeSetNotificationDetector.run(KnowledgeAgentImpl.java:538)
> 
>        at java.lang.Thread.run(Thread.java:619)
> 
>  
> 
>  
> 
> Thanks.
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> rules-users mailing list
> rules-users at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/rules-users




More information about the rules-users mailing list