I assume you need all 1 billion facts in WM at once?<br><br>i.e. event processing\CEP\streaming isn&#39;t more suitable?<br><br><div class="gmail_quote">On 8 September 2010 16:31, bellios <span dir="ltr">&lt;<a href="mailto:carfid@gmail.com">carfid@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;"><br>
Hi all,<br>
i have read the Documentation and the Drools book. I am developping an<br>
application but i don&#39;t understand in my case how i can loading  a<br>
1,000,000,000 facts (approx).<br>
At present I load all facts into a StatefulKnowledgeSession with a for-<br>
cycle and I insert them into ksession (&quot;ksession.insert(customer);&quot;)<br>
<br>
The problem is the out of memory exception due the high memory<br>
requirements of facts.<br>
How i can resolve it? There is another approach to<br>
facts loading into session? Can i integrate the loading with JPA/Hibernate<br>
frameworks?<br>
<br>
Thanks in advance for any suggestion,<br>
David<br>
<font color="#888888"><br>
--<br>
View this message in context: <a href="http://drools-java-rules-engine.46999.n3.nabble.com/Loading-facts-and-memory-size-limits-tp1440236p1440236.html" target="_blank">http://drools-java-rules-engine.46999.n3.nabble.com/Loading-facts-and-memory-size-limits-tp1440236p1440236.html</a><br>

Sent from the Drools - User mailing list archive at Nabble.com.<br>
_______________________________________________<br>
rules-users mailing list<br>
<a href="mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/rules-users" target="_blank">https://lists.jboss.org/mailman/listinfo/rules-users</a><br>
</font></blockquote></div><br>