AnsweredAssumed Answered

Why processDefinitionCacheLimit not work

Question asked by liyongda on Sep 21, 2015
Latest reply on Sep 22, 2015 by jbarrez
I have set the value of processDefinitionCacheLimit in spring configuration file,.
<bean id="processEngineConfiguration" class="org.activiti.spring.SpringProcessEngineConfiguration">
      <property name="dataSource" ref="workflowDataSource" />
      <property name="transactionManager" ref="workflowTxManager" />
      <property name="processDefinitionCacheLimit" value="1"/>
      <property name="databaseSchemaUpdate" value="true" />
      <property name="jobExecutorActivate" value="false" />
      <property name="typedEventListeners">
                  <bean class="cn.szse.workflow.activiti.listener.GlobalEventListener" />
      <property name="history" value="full" />
      <property name="idGenerator">
         <bean class="cn.szse.workflow.activiti.UuidGenerator" />

I have deployed 100 processes, the cache size should be 1, but the cache size is incresing to 100. Is the default deployment cache implements LRU? thx