Skip to content

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