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

Multipart multiplying memory allocation #49

Closed
wants to merge 3 commits into from

Conversation

pigi72333
Copy link

When we parse file by preg_match we duplicate memory allocation for it.
For example: when uploading 10M after preg_match, we have ~30M memory allocated, 10M from request body and ~20M in matches array, because matches will contain entry matches of pattern and masks.

@clue
Copy link
Member

clue commented Sep 13, 2016

Afaict this has been filed to fix the previously broken master branch. Now that #59 is in, is this still relevant?

@pigi72333
Copy link
Author

not actual, now

@clue
Copy link
Member

clue commented Feb 10, 2017

Thanks for filing this PR, I can assure you we're working hard on this 👍

This PR currently targets an unstable development feature that is no longer part of the master branch, so I've just filed #105 to keep track of the underlying feature request here. Please bear with us, we'll keep this ticket updated 👍

@clue clue closed this Feb 10, 2017
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.

None yet

2 participants