<div dir="ltr"><div><div><div><div><div>Hi,<br></div>Are you using listeners ? if yes you should unregister them from the working memory and apply the dispose method to be sure all memory is ..disposed !<br></div>Your file may be big but as binary, you package may not be so big and it depends also of how many objects you inserted in the working memory (StatefullKnowledgeSessions).<br>
</div>Also, I guess your are using jdk 64 bits ? Then you can use more memory then just 1.5 GB.<br></div><div>Your error message is strange. Does it work if you keep all rules but reduce the number of // sessions ?<br></div>
You should give us more info. <br></div>Cheers<br>Nicolas<br></div><div class="gmail_extra"><br><br><div class="gmail_quote">2013/9/16 peter.kutzner [via Drools] <span dir="ltr">&lt;<a href="/user/SendEmail.jtp?type=node&node=4025980&i=0" target="_top" rel="nofollow" link="external">[hidden email]</a>&gt;</span><br>
<blockquote style='border-left:2px solid #CCCCCC;padding:0 1em' class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

        Hi community
<br><br>I have actually some problems to work with my rules file (.drl). 
<br>It is about 1.5Meg (~2500 rules)
<br><br>After creating multiple sessions (3 to 9; StatefulKnowledgeSessions) i get an exception.
<br><br>Usually &#39;... java.lang.RuntimeException: cannot invoke method: update ...&#39; 
<br>or directly and &#39;....evaluate(Unknown Source) ...) is thrown.
<br><br>After reducing the rules file size to less than 500k it works without any exceptions.
<br><br>Using:
<br>Drools 5.5
<br>Win7 X64 / 16G Ram
<br><br>Does anyone have similar problems ?
<br>Are there any known memory problems within Drools 5.5 ?
<br>Or is my rules file unusually big ?
<br><br>T.i.a.
<br>Peter

        
        
        
        <br>
        <br>
        <hr color="#cccccc" noshade size="1">
        <div style="color:#444;font:12px tahoma,geneva,helvetica,arial,sans-serif">
                <div style="font-weight:bold">If you reply to this email, your message will be added to the discussion below:</div>
                <a href="http://drools.46999.n3.nabble.com/Drools-5-5-Problems-with-big-rules-file-1-5Meg-tp4025974.html" target="_blank" rel="nofollow" link="external">http://drools.46999.n3.nabble.com/Drools-5-5-Problems-with-big-rules-file-1-5Meg-tp4025974.html</a>
        </div>
        <div style="color:#666;font:11px tahoma,geneva,helvetica,arial,sans-serif;margin-top:.4em;line-height:1.5em">
                To start a new topic under Drools: User forum, email <a href="/user/SendEmail.jtp?type=node&node=4025980&i=1" target="_top" rel="nofollow" link="external">[hidden email]</a> <br>
                To unsubscribe from Drools, <a href="" target="_blank" rel="nofollow" link="external">click here</a>.<br>

                <a href="http://drools.46999.n3.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&amp;id=instant_html%21nabble%3Aemail.naml&amp;base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&amp;breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml" rel="nofollow" style="font:9px serif" target="_blank" link="external">NAML</a>
        </div></blockquote></div><br></div>


        
        
        <div class="signature" style="margin-top:1em;color:#666666;font-size:11px;">
                                Nicolas Héron
                        </div>
<br/><hr align="left" width="300" />
View this message in context: <a href="http://drools.46999.n3.nabble.com/Drools-5-5-Problems-with-big-rules-file-1-5Meg-tp4025974p4025980.html">Re: Drools 5.5 : Problems with big rules file (~1.5Meg)</a><br/>
Sent from the <a href="http://drools.46999.n3.nabble.com/Drools-User-forum-f47000.html">Drools: User forum mailing list archive</a> at Nabble.com.<br/>