DEV Community

Discussion on: The single best tip for running Asp.Net Core microservices

Collapse
 
alirezamgh profile image
alireza

I recently faced similar issue when building the application that required massive amount of throughput but noticed application was unreasonably using high amount of memory, application was running in docker container in Kubernetes and I spent a lot of time debugging and applied many techniques to dispose unmanaged resources but no luck, application was still using a lot of memory and after that it wasn't releasing memory, so everybody thought application had a memory leak, until I applied above tip and it dramatically reduced the memory usage without affecting performance so far, we are still testing it carefully but that was my observation and experience.