0

Our team has identified a memory leak in a .NET application running in a Kubernetes pod and needs to pinpoint and optimize the performance bottleneck. As a performance tester, I have experience in optimizing Java applications, where I can take heap dumps and analyze them for memory issues. However, I lack experience with .NET applications and am unsure how to proceed in this case.

We are using Azure Monitor and Grafana for monitoring.

Specifically, I need guidance on:

1.Which scenarios to test to identify and reproduce the memory leak in the Kubernetes environment.

2.Tools or techniques to analyze memory issues in .NET applications (similar to heap dumps in Java).

3.How to leverage Azure Monitor and Grafana to track and analyze the memory leak effectively.

4.Steps to collaborate with developers to resolve the memory leak efficiently.

Any advice, tools, or resources would be greatly appreciated. Thank you!

2 Answers 2

0

Is it the root cause that high concurrency or too many requests at same time that makes memory leak?

If yes, I had used K6 as the loading test tool, I think it should help u to reproduce the issue.

And for tracing performance to check memory issue, I think dotTrace is useful.

Hope these help you…

Sign up to request clarification or add additional context in comments.

Comments

0
  1. There is only one scenario: simulate real-life usage of your application by real users using real browsers or by upstream systems if your .NET app isn't a web app. Make sure to run a Soak test as shorter tests may not reveal memory leaks
  2. You will need a profiler tool like dotTrace or ANTS. It's also possible to take the dump of managed heap in .NET applications
  3. Azure monitor can get metrics from containers/operating systems. Grafana is a visualization tool, you will need to configure a data source in order to use it in a dashboard
  4. As a performance tester you need to provide steps to reproduce and all information you will be able to collect from k8s, profilers, performance test tools, etc.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.