BTW, I am using the JBoss Rules 3.0.5.

 


From: Dejia Wang
Sent: Monday, January 15, 2007 3:56 PM
To: rules-users@lists.jboss.org
Subject: [rules-users] Out of Memory Issue of JBoss Engine deployed on IBMWAS 6.0.2.7
Importance: High

 

Hi All,

 

I ran into OOM (Out of Memory) issue of JBoss Rule Engine deployed on IBM WAS 6.0.2.7. Below is the log

 

[Loaded org.antlr.runtime.DFA from file:/D:/WebSphere/AppServer/profiles/AppSrv01/installedApps/xxxNode02Cell/xxx.ear/lib/antlr-3.0ea8.jar]

[Loading superclass and interfaces of org/antlr/runtime/DFA]

[Preparing org/antlr/runtime/DFA]

[Loaded org.antlr.runtime.DFA$State from file:/D:/WebSphere/AppServer/profiles/AppSrv01/installedApps/xxxNode02Cell/xxxApplications.ear/lib/antlr-3.0ea8.jar]

[Loading superclass and interfaces of org/antlr/runtime/DFA$State]

[Loaded org.drools.lang.RuleParserLexer$1 from file:/D:/WebSphere/AppServer/profiles/AppSrv01/installedApps/xxxNode02Cell/xxxApplications.ear/lib/drools-compiler-3.0.jar]

[Loading superclass and interfaces of org/drools/lang/RuleParserLexer$1]

[Loaded org.drools.lang.RuleParserLexer$2 from file:/D:/WebSphere/AppServer/profiles/AppSrv01/installedApps/xxxNode02Cell/ xxxApplications.ear/lib/drools-compiler-3.0.jar]

[Loading superclass and interfaces of org/drools/lang/RuleParserLexer$2]

[Loaded org.drools.lang.RuleParserLexer$3 from file:/D:/WebSphere/AppServer/profiles/AppSrv01/installedApps/xxxNode02Cell/ xxxApplications.ear/lib/drools-compiler-3.0.jar]

[Loading superclass and interfaces of org/drools/lang/RuleParserLexer$3]

[Loaded org.drools.lang.RuleParserLexer$4 from file:/D:/WebSphere/AppServer/profiles/AppSrv01/installedApps/xxxNode02Cell/ xxxApplications.ear/lib/drools-compiler-3.0.jar]

[Loading superclass and interfaces of org/drools/lang/RuleParserLexer$4]

….

[Loaded org.drools.lang.RuleParserLexer$228 from file:/D:/WebSphere/AppServer/profiles/AppSrv01/installedApps/xxxNode02Cell/xxxApplications.ear/lib/drools-compiler-3.0.jar]

[Loading superclass and interfaces of org/drools/lang/RuleParserLexer$228]

 

It looks like it loaded the same class hundreds of times until it exhausts the memory.

 

Any idea why this happens and how to fix this?

 

Thanks- Dejia