sul-dlss / wasapi-downloader

Java application to download WARCs from WASAPI
Other
6 stars 4 forks source link

Reduce RAM needs for large jobs #120

Closed ndushay closed 7 years ago

ndushay commented 7 years ago

Tommy says "when the downloader validates the checksum, it has to load the entire file into memory. I think it’s not good about freeing up that memory after use - and then it craps out"

Nicholas says: "warcs are typically capped at 1 gb, but sometimes the contents (e.g., video files) can't be truncated. looks like the last one it downloaded was ~2.2 gb"

So the task is to determine:

thibgc commented 7 years ago

About to make a (successful, I hope, this time) pull request that fixes this.

thibgc commented 7 years ago

Pull request #122