Allowed memory size of 134217728 bytes exhausted (tried to allocate 34093489 bytes)
Permalink Browser Info Environment
We get the following error when we load a file set into the block. We are hosted on Godaddy so not really able to up the memory. Is there a workaround for this or a bug we can fix?
Allowed memory size of 134217728 bytes exhausted (tried to allocate 34093489 bytes)
Allowed memory size of 134217728 bytes exhausted (tried to allocate 34093489 bytes)
Type: | Pre-Sale |
---|---|
Status: | Archived |
My first guess is that you uploaded too big images and server can't handle creating thumbnails from them. Resize them to "sane" dimensions before upload and everything should be ok.
None of the images are very large file sizes. There are a few pictures that are large dimensions but still under the 2meg file size limit we have. I've attached a screen shot of the files we put in the file set.
Try to replace those. It's not about upload limit but available RAM.
I get that its about ram, but with 128M set as the ram limit, is there anything that would explain how 6.5M of photos (across 9 photos) uses all of that limit?
If file weighs 2MB it doesn't mean it will need only 2MB of RAM for resizing. More like 90MB, if it is 4000x4000px. Even more if you want to generate, for example 1920px thumbnail from it.
I don't know how large your images are, but I suspect they are quite big (width x height in px).
In "Dashboard / System & Settings / Files / Image Uploading" you can enable browser-side resizing (by your computer, not server) during file upload.
You can also disable fullscreen images resizing, just leave those fields empty in gallery and display original images
I don't know how large your images are, but I suspect they are quite big (width x height in px).
In "Dashboard / System & Settings / Files / Image Uploading" you can enable browser-side resizing (by your computer, not server) during file upload.
You can also disable fullscreen images resizing, just leave those fields empty in gallery and display original images