It's not problem with KnowledgeAgentImpl  Try to increase permgen space in tomcat Catalina.bat.



Thanks,


Bharadwaj nakka


On Wed, Mar 19, 2014 at 10:01 PM, Davide Sottara <dsotty@gmail.com> wrote:
Can you try version 5.6?

On 03/19/2014 05:27 PM, alineasol wrote:
> Hello,
>
> We have a  KnowledgeAgent with this configuration:
>        * drools.resource.scanner.interval = 900
>        * drools.agent.monitorChangeSetEvents = "true"
>        * drools.agent.scanResources = "true"
>        * drools.agent.scanDirectories = "true"
>        * drools.agent.newInstance = "false"
>        * drools.resource.urlcache = /path/cache
>
> We have noticed a memory leak in the class KnowledgeAgentImpl when the
> resources are down. The KnowledgeAgentImpl begins to reload from cache all
> the resources every scanner interval they are not reachable. The
> KnowledgeAgentImpl object increases its size every loop causing a Java Perm
> Gen error.
>
> We use:
>        * drools release 5.5.0.Final
>        * jdk1.6.0_45
>        * apache tomcat 7.0.42
>
>
> Any suggestion?
>
> Thank you.
>
>
>
> --
> View this message in context: http://drools.46999.n3.nabble.com/KnowledgeAgentImpl-memory-leak-5-5-0-Final-tp4028798.html
> Sent from the Drools: User forum mailing list archive at Nabble.com.
> _______________________________________________
> rules-users mailing list
> rules-users@lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/rules-users
>

_______________________________________________
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users