Closed crumpetcrusher closed 2 years ago
@crumpetcrusher in our latest Python SDK Release 1.6.19 we have added a new feature of JSONResultsReader which is an improvement over the ResultsReader. We would suggest you to use JSONResultsReader as it has a better performance it would use lesser memory. Please let us know if this helps in your application. Note:- JSONResultsReader works along with the query param "output_mode" set to 'json'.
Closing the Issue as we haven't received any response. @crumpetcrusher Please reopen the Issue if you still face the error.
Describe the bug Long-running and large export jobs writing out to file throw exception
MemoryError
from withinresults.py
To Reproduce Run export job using latest SDK release for something > 45GB (in my case) During export, see Traceback from
results.py
Expected behavior Export job would yield all results without throwing
MemoryError
Logs or Screenshots
Code example being executed:
Splunk:
SDK: