How to do memory profiling for Docker Container?

Hi Friends,

I am facing issue with memory leakage with docker container. I have service developed in .Net Core. This service containerize and up and running in Docker. All service End Points working OK. While load testing we found that memory get increased. At this time there is no any single request executed. Container left as it is and with docker stats command we clearly see that memory increased.

Can anyone help me to resolve this issue? I tried to find memory profiler for docker container but not found any.

Thanks,
-Harshad