[rules-users] Memory leak when deploying to Maven repository?

Mario Fusco mario.fusco at gmail.com
Tue Jun 10 11:05:59 EDT 2014


Hi Dominik,

I'm honestly not understanding why you're creating a kieModule and most
important why you're deploying it on maven in a ServletContextListener, but
I am guessing you're doing this only to demonstrate the problem. Also be
aware that for doing so you're using some drools internal API and these API
aren't guaranteed to be stable.

However every time you build a kieModule or you load it from a maven repo,
it is stored in the KieRepository. If you need to remove it from there you
can do this explicitly by using the KieRepository.removeKieModule(ReleaseId)
method.

I hope this helps,
Mario



--
View this message in context: http://drools.46999.n3.nabble.com/rules-users-Memory-leak-when-deploying-to-Maven-repository-tp4029950p4029955.html
Sent from the Drools: User forum mailing list archive at Nabble.com.


More information about the rules-users mailing list