I assume you need all 1 billion facts in WM at once?

i.e. event processing\CEP\streaming isn't more suitable?

On 8 September 2010 16:31, bellios <carfid@gmail.com> wrote:

Hi all,
i have read the Documentation and the Drools book. I am developping an
application but i don't understand in my case how i can loading  a
1,000,000,000 facts (approx).
At present I load all facts into a StatefulKnowledgeSession with a for-
cycle and I insert them into ksession ("ksession.insert(customer);")

The problem is the out of memory exception due the high memory
requirements of facts.
How i can resolve it? There is another approach to
facts loading into session? Can i integrate the loading with JPA/Hibernate
frameworks?

Thanks in advance for any suggestion,
David

--
View this message in context: http://drools-java-rules-engine.46999.n3.nabble.com/Loading-facts-and-memory-size-limits-tp1440236p1440236.html
Sent from the Drools - User mailing list archive at Nabble.com.
_______________________________________________
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users