Anthony G. Rivera Cosme
Anthony G. Rivera Cosme
This method you mentioned above takes the entire stream as pass it to javascript entirely, and since your file is too big this error is expected. You need to use...
Where is this issue ocurring? Blazor server? Blazor wasm? Which browser and version?
Also need to know which arq is your cpu and OS and how much memory you computer has since there are limitations when downloading big files through javascript per browser...
Please read this and see if this case applies to your case. https://stackoverflow.com/questions/28307789/is-there-any-limitation-on-javascript-max-blob-size
> And to download the file, it shakes in chunks, while generating requests. > >  > > per 552 mb file, 804 requests This is the way it works,...
> In js, can it be first to give the user a link, and then write bytes there? what you mean by this?
The trick over here is increase the buffer size. Blazor server signal r should be halting from so many request on so short time span. Increase the buffersize to 2-5...
The best option for big file is use the content-disposition attachment response as I explained on the readme.md of this repository. 
And yes, even if I recommend use content-disposition from files incoming from the server, you can still download files from the server as you are trying to do over my...
> In ASP net core, they used to do this: > > https://stackoverflow.com/questions/42460198/return-file-in-asp-net-core-web-api > > In the Blazor, you can give a link to the file https://docs.microsoft.com/en-us/aspnet/core/blazor/file-downloads ?view=aspnetcore-6.0 Please let...