Open prestonvanloon opened 5 years ago
One thing to notice is that we have set the "count" to 256Mb since this is referencing a bytes limit, not a count of messages.
@prestonvanloon any luck with your merged change? Setting BufferMaxCount seems weird because they say they set the size for each msg to 1 regardless of the size. That means tuning memory for the process is harder than it should be.
Please answer these questions before submitting a bug report.
What version of the Exporter are you using?
5b8293c22f362562285c2acbc52f4a1870a47a33
What version of OpenCensus are you using?
7bbec1755a8162b5923fc214a494773a701d506a
What version of Go are you using?
1.11
What did you do?
I am not sure how to reproduce.
What did you expect to see?
Low amount of goroutines.
What did you see instead?
50k+ goroutines.
Additional context
This library is the only one in our binary that usese google.golang.org/api/support/bundler.
This is how we have configured it