<div>Hi, </div>
<div>&nbsp;</div>
<div>Has anyone attempted to measure the incremental memory usage of using Drools? Anyone cares to share their methodology?</div>
<div>&nbsp;</div>
<div>I am currently following the following methodology:</div>
<div>1. Prevent garbage collection from happening by using large&nbsp;Xms Xmx (1024m in my case), a NewRatio of 2 (I am sure other sizes will work as well)&nbsp;and verbogegc enabled to confirm that no garbage collection is happening.</div>

<div>2. Use Runtime.freeMemory before and after fireAllRules and measuring the difference. </div>
<div>&nbsp;</div>
<div>The problem with my methods so far has been that after a positive memory usage (indicating you are using memory), subsequent use case (the same one) incurs zero memory usage which is very strange. </div>
<div>&nbsp;</div>
<div>So I guess my question is 2 fold: anyone care to share their methodology, and can anyone see what&#39;s wrong with mine?</div>
<div>&nbsp;</div>
<div>Thanks,</div>
<div>&nbsp;</div>
<div>Roger</div>