Skip to content

limit ExtractorYoutubeDL heap usage#302

Merged
galgeek merged 2 commits intointernetarchive:masterfrom
nlevitt:ydl-streaming
Jan 22, 2020
Merged

limit ExtractorYoutubeDL heap usage#302
galgeek merged 2 commits intointernetarchive:masterfrom
nlevitt:ydl-streaming

Conversation

@nlevitt
Copy link
Copy Markdown
Contributor

@nlevitt nlevitt commented Jan 22, 2020

We were seeing OOME due to large youtoube-dl json (for playlists and
such). So instead of storing the json in ram, stream through it, and
stash the contents in an thread-local anonymous tempfile so it can be
written to to warc.

We were seeing OOME due to large youtoube-dl json (for playlists and
such). So instead of storing the json in ram, stream through it, and
stash the contents in an thread-local anonymous tempfile so it can be
written to to warc.
@galgeek galgeek merged commit 8ffcfa9 into internetarchive:master Jan 22, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants