You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I run a long-lived binary that queries multiple social media providers. I use anaconda to query Twitter. It makes hundreds of queries per minute, and over the course of days/weeks, it ends up using all available RAM on the system.
Profiling, it seems that throttledQuery itself is the source of the leaks. Here is the inuse_space graph from the profile (note: it's an SVG and can be clicked on / zoomed in):
As you can see, I terminated the program when 300MB had leaked (the rest of the program uses a few dozen MB total). I'm guessing that this is a goroutine leak, but I'm still working on profiling that.
The text was updated successfully, but these errors were encountered:
I run a long-lived binary that queries multiple social media providers. I use anaconda to query Twitter. It makes hundreds of queries per minute, and over the course of days/weeks, it ends up using all available RAM on the system.
Profiling, it seems that throttledQuery itself is the source of the leaks. Here is the inuse_space graph from the profile (note: it's an SVG and can be clicked on / zoomed in):
As you can see, I terminated the program when 300MB had leaked (the rest of the program uses a few dozen MB total). I'm guessing that this is a goroutine leak, but I'm still working on profiling that.
The text was updated successfully, but these errors were encountered: