<div dir="ltr">Hi,<div><br></div><div>Thanks for the hint.</div><div><br>I have looked around for a generic solution of OutOfMemory, native thread, etc :</div><div><a href="https://community.jboss.org/thread/164955">https://community.jboss.org/thread/164955</a><br>

It seems actually that Drools uses a thread pool for Jitting and that in my case the thread pool </div><div>thinks it can create an infinity of threads : and it does.<br>But at one point, the System blocks it (based on ulimit -a settings or actual memory issues)</div>

<div><br></div><div>It seems to me that Jit compilation requires fine tuning for it to work, and all those configuration magic numbers (JIT_THRESHOLD </div><div>and so on) should not be hidden to the user and properly documented.</div>

<div><br></div><div>In am running Drools in the context of a J2EE environment (JBoss in my case). And thread pool settings is already a critical<br>topic. We definitely need more control (more visible ones) on those issues.</div>

<div><br></div><div>I will try to diable JIT in my case in the meantime, but I am waiting forward </div><div>to be able to use it in the future :)<br><br>Thanks again,</div><div>Brgds,</div><div>Raphael<br><br><br></div>
</div>