Open probablytukars opened 2 months ago
Good catch @probablytukars. The addon add an hyperlink node for each screenshot to download and even it the node is removed immediately from DOM, it seems the browser does not free up the memory. I can think of two ways to avoid such an issue:
I think I prefer option 1 right now. @gurumukhi, any opinion on this?
Thanks @probablytukars & @joggee-fr. Yes, option 1 looks good to me too. I have merged the PR and have submitted the new version for publishing.
I hope this is fixed now. Closing the issue, feel free to please comment here if you noticed anything else.
Looks like there is some issue with the code changes done here as per https://github.com/gurumukhi/youtube-screenshot/issues/61.
If you screenshot multiple 4k videos using png (jpeg is also affected, but the leak grows slower) and keep the browser open it is very easy to get 16GB of memory leaked, just take like 20 screenshots and you will already be there. This can make the page file grow to insanely large amounts if only a few screenshots are taken, slowing down your computer immensely.