Clarification Needed : Docker Containers are Not Releasing Memory

Saundarya Saurabh <saundarya.saurabh@...>

Hey Team,

Our Migration Application is built in java for migrating data into hyperledger fabric 2.2 using Java SDk to connect to HLF Network.

We are processing data in batches of 4000 Records in a Scheduler and Scheduler runs after every 1 min interval.

We migrated 40,000 Records in 10 minutes in after which, 993.689 Mb was occupied by Docker Containers(Peers , Orderers, CouchDB , CA , Chaincode).

we stopped the java process and kept the system Idle and After 1 Hour it released around 200 Mb only.


We are Trying to migrate 25 Lakhs data . After running the scheduler multiple times, system is getting Stopped (no memory available) .

JVM is not leaking any memory , we have confirmed That.

I want to understand Why Docker Containers are Not Releasing Memory ? Where is The Memory Leak Happening ?


Please assist!

Saundarya Saurabh
Sr. Associate Consultant (Blockchain)
Infosys Limited

Join to automatically receive all group messages.