[rules-users] Loading facts and memory size limits

Michael Anstis michael.anstis at gmail.com
Wed Sep 8 17:23:32 EDT 2010


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 at 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 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/20100908/dc57a148/attachment.html 


More information about the rules-users mailing list