Hello,
camunda guys we are facing memory leak issue in our micro service as we observed process definition caching storing lot’s of data. which causing our service getting OOM (out of memory) .
can sameone help on this.
spring-boot-2.3.12.RELEASE.jar
camunda-bpm-spring-boot-starter-3.3.1.jar
Camunda version 7.16.0
MYSQL 5.8
Kubernetes cluster environment
regards
Sahu
Hello @pinturjs ,
first of all, please align your dependencies according to this version compatibility guide:
If you then still experience this memory leak, please upgrade to 7.18.0, which is currently the latest version.
If the memory leak still appears, please feel free to create a bug report at jira.camunda.com
@jonathan.lukas Thanks for quick reply…
my actual problem is camunda follow Deployment Cache functionality in which camunda store process definition to avoid multiple polling on db for frequently using definition.
But actual memory leak causing in along with definition caching camunda stored execution data of the definition which is calling frequently at this data is huge camunda caching more then 5 Million object in caching which is causing OOM (out of memory).
looking for better solution as i already tried Cache Capacity default is 1000 and i set it 5 but still issue is there.
Br
Pintu
@pinturjs were you able to solved this one? we have a similar issue.
Thank you.
yes @alejanndro27 we observe multiple issue in our service like we change our GC algorithm previously 1. we are using mark and sweep which is not working as expected so we change it with G1GC
2. I configure set cache limit 5 instead of default 120
This 2 changes we made to resolve issue
all right, let me check that. Thank you Sahu.