jimmywarting / StreamSaver.js

StreamSaver writes stream to the filesystem directly asynchronous
https://jimmywarting.github.io/StreamSaver.js/example.html
MIT License
4k stars 415 forks source link

Why my memory usage blow up after stopping a download? #332

Open codecodecookie opened 11 months ago

codecodecookie commented 11 months ago

I an using fileStreamResult to implements download a large file in back-end,it return a stream to the front-end,and using streamSaver to recieve the stream and write to the loacl file. But when i pause the download ,the google browser memory usage blow up and then crashes.How can i fix it ? image and front-end code: image