[rules-users] Large Rule base failing? StackOverlowError

Christie, Blair blair.christie at cgi.com
Mon Feb 23 10:14:48 EST 2009


My apologies for not being more specific.
The version of drools is 4.07 and the size is of the serialized file. 
It is 2megs. 
We do not currently have about 200 rules. 

Cheers,
Blair

 

Message: 2
Date: Fri, 20 Feb 2009 22:16:40 +0000
From: Mark Proctor <mproctor at codehaus.org>
Subject: Re: [rules-users] Large Rule base failing? StackOverlowError
To: Rules Users List <rules-users at lists.jboss.org>
Message-ID: <499F2BC8.5050708 at codehaus.org>
Content-Type: text/plain; charset="iso-8859-1"

Christie, Blair wrote:
>
> We are having a problem reading in large serialized files. We get a 
> StackOverflow exception when the rules get to be 2m.
>
> Is there a way to overcome this without increasing the stack size?
>
What version of Drools?

You have 2 million rules? Just to be clear, was it working with 1.9 
million rules? heh I'm intigued on what sort of app you are doing, could

you do a write up? I'm sure people would love to know about people using

a really large number of rules.

The limitation you reaching is a limitation of the standard 
serialisation algorithm of the JDK, we would have to create a custom 
marshaller to improve this further, which we may do in the future. 
Unless someone from the community wants to do this? :)

Mark

>  
>
> Blair Christie
>
> * *
>
>  
>
>
------------------------------------------------------------------------
>
> _______________________________________________
> 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/20090220/563909
37/attachment-0001.html

------------------------------

Message: 3
Date: Fri, 20 Feb 2009 22:17:36 +0000
From: Mark Proctor <mproctor at codehaus.org>
Subject: Re: [rules-users] Any movment on JBRULES-946?
To: Rules Users List <rules-users at lists.jboss.org>
Message-ID: <499F2C00.8050004 at codehaus.org>
Content-Type: text/plain; charset="iso-8859-1"

Christie, Blair wrote:
>
> JBRULES-946 <https://jira.jboss.org/jira/browse/JBRULES-946>
>
> 	
>
> RuleBase serialization fails with StackOverflowError 
> <https://jira.jboss.org/jira/browse/JBRULES-946>
>
> 	
>
> Mark Proctor
>
> 	
>
> Alexandre Gattiker
>
> 	
>
> Major
>
> 	
>
> OpenOpen
>
> 	
>
> UNRESOLVED
>
> 	
>
> 25/Jun/07
>
> 	
>
> 23/Jul/07
>
>  
>
As the email says it seems some more modern JVMs cope better, and the 
work to write a custom marshaller is quite a lot so it's been a lower 
priority for now, unless someone from the community takes this on.

Mark
>
> **
>
>  **
>
>  
>
>
------------------------------------------------------------------------
>
> _______________________________________________
> rules-users mailing list
> rules-users at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/rules-users
>   

-------------- next part --------------
Skipped content of type multipart/related

------------------------------

_______________________________________________
rules-users mailing list
rules-users at lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users


End of rules-users Digest, Vol 27, Issue 63
*******************************************




More information about the rules-users mailing list