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

WIP Remove ImageBackendFactory Injector override from ImageThumbnailHelper #904

Conversation

maxime-rainville
Copy link
Contributor

ImageThumbnailHelper overrides ImageBackendFactory with InjectionCreator. This seems to increase the memory usage systematically when resizing big pictures. Not quite sure why, but I think some object hang around when InjectionCreator.

This doesn't actually show when calling memory_get_peak_usage because the memory is actually used by some process outside of PHP that's responsible for resizing the image.

@maxime-rainville
Copy link
Contributor Author

Oups ... wrong remote.

@maxime-rainville maxime-rainville deleted the pulls/1/optimise-image-backend-to-reduce-memory-usage branch January 29, 2019 02:20
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.

1 participant