Skip to content

adjust php memory limit #525

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

Merged
merged 1 commit into from
Feb 19, 2025
Merged

Conversation

gskornowicz
Copy link
Contributor

Hi, when using this container I've encountered issue while trying to see the images in gallery after an upload of another file. File uploaded was ~500KBs PNG

[2025-02-18 19:22:49] production.ERROR: Allowed memory size of 134217728 bytes exhausted (tried to allocate 51265720 bytes)
{"userId":16,"exception":"[object] (Symfony\\Component\\ErrorHandler\\Error\\FatalError(code: 0): Allowed memory size of 134217728 bytes
exhausted (tried to allocate 51265720 bytes) at /var/www/bookstack/vendor/intervention/image/src/Intervention/Image/Gd/Decoder.php:128)                                                                                                                                                                                            
[stacktrace]  #0 {main}"}

I've fixed it by building a new container with additional memory settings in php.ini as presented in change

@rjhenry rjhenry merged commit 2041ada into solidnerd:master Feb 19, 2025
2 checks passed
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.

2 participants