Set Camunda cache capacity


Im trying to set my camunda application cache capacity to a certain value following this guide

However, by running locally and enabling debugger, i can check the cache capacity still at default value: 1000

Is there any step that im missing?

Hello @abu_talha
Could you share the configuration file you use to set the cache capacity?


Thanks for prompt reply Alex!

here you go

<?xml version="1.0" encoding="UTF-8"?>
<beans xmlns=""

    <bean id="processEngineConfiguration" class="org.camunda.bpm.engine.impl.cfg.StandaloneInMemProcessEngineConfiguration">
<!--        Default is set at 1000 as per this doc-->
        <property name="cacheCapacity" value="5" />

I have also tried using this class:


also here the screenshot of the processEngine inspection:

Hello my friend!

Did you implement the cache classes as a MyCacheFactory extending CacheFactory and overriding the createCache() method?

can you show us?

William Robert Alves

Thank you for your reply @WilliamR.Alves

We do not implemented custom cache classes for this configuration, only cacheCapacity

hope this answer your question

Ok so no customization needed!

In which file did you place the cache config?
In which folder/path is this file saved?

After the adjustment you made to the file, did you restart the application?

we set the cacheConfing on this file camunda.cfg.xml and saved under src/main/kotlin/resources folder

yup, we do restart the application

Is your Camunda implementation embedded with Spring?

If so… try changing the “class” attribute in your xml file.

And restart the application.

William Robert Alves

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.