Skip to content
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

Do not load the full file content into memory #550

Merged

Conversation

juliusknorr
Copy link
Contributor

This will avoid loading the full file into memory when returning it for the download. By streaming the file directly there is no risk of running into the memory_limit configured in PHP with files that are larger.

Signed-off-by: Julius Härtl <jus@bitgrid.net>
@juliusknorr juliusknorr force-pushed the bugfix/noid/memory-file-content branch from 028db76 to cf06f67 Compare November 17, 2021 09:23
@LinneyS LinneyS requested a review from Antipkin-A January 20, 2022 14:12
@LinneyS LinneyS changed the base branch from master to develop January 20, 2022 14:13
@LinneyS LinneyS merged commit 4b4bc04 into ONLYOFFICE:develop Feb 9, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants