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
{{ message }}
This repository was archived by the owner on Apr 4, 2023. It is now read-only.
We are using Splunk.Client to export data from our Splunk instalation.
At this moment we are querying our instance every minute for the previous minute of data. We are running a "Normal" search as demonstrated in you documentation.
It looks like we are running into a memory leak when doing this.
Our result set contains 12 columns and between 20000 - 50000 records per query.
The pattern used in your SearchResult class looks to be exactly what that bug report is explaining.
Do you have any insight that might help us?
Maybe an alternative way to do the query that does not use SearchResult, but gets raw string data (in CSV or some other format)?
The text was updated successfully, but these errors were encountered:
Hi,
We are using
Splunk.Client
to export data from our Splunk instalation.At this moment we are querying our instance every minute for the previous minute of data. We are running a "Normal" search as demonstrated in you documentation.
It looks like we are running into a memory leak when doing this.
Our result set contains 12 columns and between 20000 - 50000 records per query.
Here is the code we run:
This code is running in a loop. We are seeing a big number of objects being created, and not collected by GC (even when forcing on all generations).
While investigating we ran into this .NET bug report
The pattern used in your
SearchResult
class looks to be exactly what that bug report is explaining.Do you have any insight that might help us?
Maybe an alternative way to do the query that does not use
SearchResult
, but gets raw string data (in CSV or some other format)?The text was updated successfully, but these errors were encountered: