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
Each time the method is called, a new instance is created and a slice of writeAPIs is placed.
So as you run the slice the capacity gets larger and larger and it doesn't get released.
Showing nodes accounting for 6.56GB, 99.41% of 6.60GB total
Dropped 20 nodes (cum <= 0.03GB)
Showing top 10 nodes out of 18
flat flat% sum% cum cum%
6.56GB 99.41% 99.41% 6.57GB 99.55% github.com/influxdata/influxdb-client-go/api.NewWriteAPI
Each call creates a new one
And it's put into the slice
Expected behavior:
Instances can be reused or resources can be released exactly when they are used
Actual behavior:
Cannot reuse and cannot release resources
Specifications:
Client Version: Cannot reuse and cannot release resources
InfluxDB Version: 2.0
Platform: mac OSX & CentOS
Pooling is recommended for managing WriteAPI.
The text was updated successfully, but these errors were encountered:
Each time the method is called, a new instance is created and a slice of writeAPIs is placed.
So as you run the slice the capacity gets larger and larger and it doesn't get released.
Here is the actual running pprof:
Expected behavior:
Instances can be reused or resources can be released exactly when they are used
Actual behavior:
Cannot reuse and cannot release resources
Specifications:
Pooling is recommended for managing WriteAPI.
The text was updated successfully, but these errors were encountered: