getting OOM error while executing rules drools 6.5 version
I am getting OOm error during rule execution. Following are the configuration and software details.
- Tomcat application server with 48 GB RAM running on centos
- Drools version 6.5.0 final
- Java 1.8
I am population data to WM on a quarter wise and one type of fact per quarter 200000 avg and another fact type is around 12 million per quarter.
I am processing the big data set one million at a time. I read one million record from file, insert to working memory, execute the rules then retract one million records. This process will continue until all the records are processed. The first fact type remains in the working memory.
I was able to process 40 quarters of data using a 24GB RAM VM using drools 5.x. After moving to drools 6.x with the same set of rules I am not able to run the rules for more than 4 quarters. I increased the RAM to 48 GB still getting OOM.
I am not sure what went wrong. I think I am missing some configuration or something like that.
Looking forward to some help from you guys.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
