Processing app, bpmn and dmn consumes 1.3GB memory

We are hosting Flowable in GCP. And whenever I see three entries like this:

Processing app resource
BpmnDeployer: processing resource Recovery_Loan_Demo_v2.bpmn
DmnDeployer: processing resource dmn-Overdue_Status_Demo.dmn

memory consumption goes up by about 1.3 GB. Which one is most probably causing it? Is there any way to optimize it?

Any ideas are appreciated.