SteveMcGrath/pySecurityCenter

How can Scandownloader handle LARGE scan results?

Closed this issue · 2 comments

How can the script be modified to pipe the scan result directly to a zip file on disk without staging in memory. We have scan result files exceeding 1 GB zipped and the script blows memory even with 16GB RAM.

I'd recommend replacing the existing post and write code with something closer to this:

http://stackoverflow.com/questions/14114729/save-a-large-file-using-the-python-requests-library?answertab=votes#tab-top