<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Christie, Blair wrote:
<blockquote
cite="mid:9DA32B4D8579AF44AD96C1CC2E9C518D031FD5CA@MTL-MSG-02.cgiclients.com"
type="cite">
<meta http-equiv="Content-Type" content="text/html; ">
<meta name="Generator" content="Microsoft Word 11 (filtered medium)">
<o:SmartTagType
namespaceuri="urn:schemas-microsoft-com:office:smarttags"
name="PersonName">
<!--[if !mso]>
<style>
st1\:*{behavior:url(#default#ieooui) }
</style>
<![endif]-->
<style>
<!--
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman";}
a:link, span.MsoHyperlink
        {color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {color:#606420;
        text-decoration:underline;}
p
        {mso-margin-top-alt:auto;
        margin-right:0in;
        mso-margin-bottom-alt:auto;
        margin-left:0in;
        font-size:12.0pt;
        font-family:"Times New Roman";}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:Arial;
        color:windowtext;}
@page Section1
        {size:8.5in 11.0in;
        margin:1.0in 1.25in 1.0in 1.25in;}
div.Section1
        {page:Section1;}
-->
</style></o:SmartTagType>
<div class="Section1">
<p class="MsoNormal"><font face="Arial" size="2"><span
style="font-size: 10pt; font-family: Arial;">We are having a problem
reading in large serialized files. We
get a StackOverflow exception when the rules get to be 2m.<o:p></o:p></span></font></p>
<p class="MsoNormal"><font face="Arial" size="2"><span
style="font-size: 10pt; font-family: Arial;">Is there a way to
overcome this without increasing the stack
size?</span></font></p>
</div>
</blockquote>
What version of Drools?<br>
<br>
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.<br>
<br>
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? :)<br>
<br>
Mark<br>
<br>
<blockquote
cite="mid:9DA32B4D8579AF44AD96C1CC2E9C518D031FD5CA@MTL-MSG-02.cgiclients.com"
type="cite">
<div class="Section1">
<p class="MsoNormal"><font face="Arial" size="2"><span
style="font-size: 10pt; font-family: Arial;"> <o:p></o:p></span></font></p>
<p class="MsoNormal"><font face="Arial" size="2"><span
style="font-size: 10pt; font-family: Arial;"><o:p> </o:p></span></font></p>
<p class="MsoNormal"><st1:PersonName w:st="on"><font face="Arial"
size="2"><span style="font-size: 10pt; font-family: Arial;">Blair
Christie</span></font></st1:PersonName><o:p></o:p></p>
<p><b><font color="green" face="Arial" size="1"><span
style="font-size: 7.5pt; font-family: Arial; color: green; font-weight: bold;"> <o:p></o:p></span></font></b></p>
<p class="MsoNormal"><font face="Times New Roman" size="3"><span
style="font-size: 12pt;"><o:p> </o:p></span></font></p>
</div>
<pre wrap="">
<hr size="4" width="90%">
_______________________________________________
rules-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org</a>
<a class="moz-txt-link-freetext" href="https://lists.jboss.org/mailman/listinfo/rules-users">https://lists.jboss.org/mailman/listinfo/rules-users</a>
</pre>
</blockquote>
<br>
</body>
</html>