-
Notifications
You must be signed in to change notification settings - Fork 10.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Memory issue when streaming a PDF #5400
Comments
With streaming enabled, I can reproduce the large memory consumption (over 2 GB), and very intermittently I'm also getting OOM errors. /cc @yurydelendik Is there anything (simple) we can do to reduce the memory consumption of streaming? |
The reason for the difference between streaming/non-streaming is probably related to the differences between |
Right, adding "delete this.data;" before "return data;" fixes the issue for me. |
As I alluded to above, we cannot do that since it breaks streaming (it would be functionally equivalent to |
This is a regression. Loading the following pdf causes the browser to consume large amounts of memory (>2 GB here) until it hits OOM. Please note that:
URL: http://www.gergs-blum.de/Mensa%20KCG/Bauen%20mit%20Holz%205%202014.pdf
c3f191a is the first bad commit
commit c3f191a
Author: Yury Delendik
Date: Fri Sep 5 20:02:54 2014 -0500
The text was updated successfully, but these errors were encountered: