Drools-规则数量和磁导空间之间有直接关系吗? [英] Drools - Is there a direct correlation between number of rules and permgen space?
问题描述
我运行了100条规则的流口水决策表,效果很好。但是,一旦我将规则数量增加到1000,我就开始出现permgen空间错误。我必须将permgen的进程增加到256MB,才能容纳3000条规则。我担心的是,随着我不断添加规则,我可能需要越来越多的permgen。
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
推荐答案
是的,我们知道此问题 https://issues.jboss .org / browse / RHDM-488
Yes we are aware of this problem https://issues.jboss.org/browse/RHDM-488
这篇关于Drools-规则数量和磁导空间之间有直接关系吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!