question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Memory leak issue

See original GitHub issue

Describe the bug

It is hard to describe or repro the bug. I rerun this Trello in an Azure function every 5 minutes. From the telemetry, it spend longer and longer time to send the requests. My guess is, there is some memory leak issue in the code. Do you have any ideas?

Screenshots

Vertical axis is the time to send the request.

image

Desktop (please complete the following information):

  • OS: Linux
  • .Net Target: .Net core 2.2
  • Version [e.g. 22]

Additional context

I tried to call TrelloConfiguration.Cache.Clear() after each call but it does not help.

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:9

github_iconTop GitHub Comments

1reaction
lijunlecommented, Sep 9, 2019

@gdziadkiewicz From monitor, the issue is resolved! Thanks a lot for the quick help!

1reaction
lijunlecommented, Sep 5, 2019

The source code is here: https://gist.github.com/lijunle/eafa8cb87f651b2dd904c8352ed5e6c6

It is quite short.

Read more comments on GitHub >

github_iconTop Results From Across the Web

What is Memory Leak? How can we avoid?
Memory leak occurs when programmers create a memory in a heap and forget to delete it. The consequence of the memory leak is...
Read more >
Memory leak
Memory leaks are a common error in programming, especially when using languages that have no built in automatic garbage collection, such as C...
Read more >
Memory Leaks and Garbage Collection
Memory leaks are a form of computer brain drain that can cause systems to be unstable and unpredictable. The fix is called garbage...
Read more >
Memory leak detection - How to find, eliminate, and avoid
Another method for memory leak detection is to use logging intelligently. Sometimes, faulty code doesn't cause a memory leak, but your users do....
Read more >
What Is a Memory Leak and How Do They Happen?
A memory leak is a portion of an application that uses memory from RAM without finally freeing it. The result is that an...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found