[rules-users] Out of Memory Issue of JBoss Engine deployed onIBMWAS 6.0.2.7

Mark Proctor mproctor at codehaus.org
Mon Jan 15 21:32:41 EST 2007


Antlr  2.7.7 is just for the StringTemplate stuff, we are actually using 
Antlr 3. You could attempt to regenerate the grammar again with latest 
versions of antlrworks and antlr, although I'm not sure if it works 
without updates to the drl. Not sure when 3.0.6 will be out, probably 
not for a few weeks.

Mark
Dejia Wang wrote:
>
> BTW, I noticed that current stable version of antlr is 2.7.7 (released 
> November 1, 2006). Rule 3.0.5 has 2.7.6.
>
>  
>
> Edson, will antlr 2.7.7 work?
>
>  
>
> Thanks- Dejia
>
>  
>
> ------------------------------------------------------------------------
>
> *From:* Dejia Wang
> *Sent:* Monday, January 15, 2007 5:40 PM
> *To:* 'Rules Users List'
> *Subject:* RE: [rules-users] Out of Memory Issue of JBoss Engine 
> deployed onIBMWAS 6.0.2.7
>
>  
>
> This is good news. Thanks very much, Mark and Edson! BTW, when will 
> 3.0.6 release be out?
>
>  
>
> - Dejia
>
>  
>
> ------------------------------------------------------------------------
>
> *From:* Mark Proctor [mailto:mproctor at codehaus.org]
> *Sent:* Monday, January 15, 2007 4:33 PM
> *To:* Rules Users List
> *Subject:* Re: [rules-users] Out of Memory Issue of JBoss Engine 
> deployed onIBMWAS 6.0.2.7
>
>  
>
> I believe this was a bug  in antlr that is now fixed. I'll see if we 
> can get a 3.0.6 release done some time updated to the latest antlr. 
> Edson knows more about this, as it was a bug he investigated.
>
> Mark
> Dejia Wang wrote:
>
> BTW, I am using the JBoss Rules 3.0.5.
>
>  
>
> ------------------------------------------------------------------------
>
> *From:* Dejia Wang
> *Sent:* Monday, January 15, 2007 3:56 PM
> *To:* rules-users at lists.jboss.org <mailto:rules-users at 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 
> <file:///D:%5CWebSphere%5CAppServer%5Cprofiles%5CAppSrv01%5CinstalledApps%5CxxxNode02Cell%5Cxxx.ear%5Clib%5Cantlr-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 
> <file:///D:%5CWebSphere%5CAppServer%5Cprofiles%5CAppSrv01%5CinstalledApps%5CxxxNode02Cell%5CxxxApplications.ear%5Clib%5Cantlr-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 
> <file:///D:%5CWebSphere%5CAppServer%5Cprofiles%5CAppSrv01%5CinstalledApps%5CxxxNode02Cell%5CxxxApplications.ear%5Clib%5Cdrools-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/ 
> <file:///D:%5CWebSphere%5CAppServer%5Cprofiles%5CAppSrv01%5CinstalledApps%5CxxxNode02Cell%5C> 
> 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/ 
> <file:///D:%5CWebSphere%5CAppServer%5Cprofiles%5CAppSrv01%5CinstalledApps%5CxxxNode02Cell%5C> 
> 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/ 
> <file:///D:%5CWebSphere%5CAppServer%5Cprofiles%5CAppSrv01%5CinstalledApps%5CxxxNode02Cell%5C> 
> 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 
> <file:///D:%5CWebSphere%5CAppServer%5Cprofiles%5CAppSrv01%5CinstalledApps%5CxxxNode02Cell%5CxxxApplications.ear%5Clib%5Cdrools-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
>
>  
>  
>  
>
>
> ------------------------------------------------------------------------
>
>
>  
>  
>  
> _______________________________________________
> rules-users mailing list
> rules-users at lists.jboss.org <mailto:rules-users at lists.jboss.org>
> https://lists.jboss.org/mailman/listinfo/rules-users
>   
>
>  
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> rules-users mailing list
> rules-users at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/rules-users
>   

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/rules-users/attachments/20070116/1a5ea7e6/attachment.html 


More information about the rules-users mailing list