machawk1 / warcreate

Chrome extension to "Create WARC files from any webpage"
https://warcreate.com
MIT License
206 stars 13 forks source link

This seems to leak memory pretty bad #57

Open axfelix opened 10 years ago

axfelix commented 10 years ago

Up to half a GB with it installed on Linux Chromium 33 without restarting my browser for a couple days. Not sure if it'd relinquish the memory politely if needed.

machawk1 commented 10 years ago

I agree. Part of the behavior is by-design. WARCreate does not currently relinquish the data it captures when browsing from webpage to webpage so that when "Generate WARC" is clicked, all "recorded" data is saved. This should not be the case but is an accidental feature.

Ideally, it would clear the cached string on page unload.

axfelix commented 10 years ago

Oddly, this is happening without ever actually invoking the "Generate WARC" feature, but otherwise, that makes sense.

Oh, I just misread what you said, and it's no longer odd :)

Still perhaps worth changing.

machawk1 commented 10 years ago

Related (but not duplicate of) #54 and #7