Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

"Memory leak" when using HTML File #565

Closed
kersam-bl opened this Issue Jul 18, 2013 · 0 comments

Comments

Projects
None yet
2 participants

When transferring a lot of data via the HTMLFile transport, I see a steady increase in browsers memory usage. This only happens with the HTMLFile transport, not with XHR-polling.
As far as I understand, this is due to the fact how HTMLFile works: It is a script tag which is streamed infinitely to the browser. Since the browser has to retain all the scripts, mem usage will increase.
Wouldn't it be possible to clear the script tag from time to time, thus reducing memory consumption?

Regards,
Samuel

@rauchg rauchg closed this Nov 25, 2014

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment