I ran drools decision table with 100 rules and it worked fine. But as soon as I increased the number of rules to 1000, I started getting permgen space error. I had to increase permgen to 256MB for my process to accommodate the 3000 rules. My concern is as I keep adding the rules, I might need more and more permgen.
I am thinking of not using drools and develop a custom solution due to this issue.
Is this correct observation or am I doing something wrong causing the perm gen space requirement to increase
Yes we are aware of this problem https://issues.jboss.org/browse/RHDM-488
From the below link it seems we can disable the permgenThreshold for Java 7 though it will negatively impact the rule evaluation performance.
https://issues.jboss.org/browse/DROOLS-1016?focusedCommentId=13144411&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-13144411