Skip to content
Grav 2.0 is officially stable. Read the announcement →
Archive

Allowed memory size

Started by Muut Archive 10 years ago · 3 replies · 645 views
10 years ago

Whoops\Exception\ErrorException thrown with message "Allowed memory size of 134217728 bytes exhausted (tried to allocate 2164801 bytes)"

Stacktrace:

0 Whoops\Exception\ErrorException in /home/d/.../public_html/vendor/gregwar/image/Gregwar/Image/Adapter/GD. php:85

Domain: http://angelboxes.ru/
On the local domain everything works correctly. What could be the problem?

10 years ago

If you search the forum for "gregwar," similar discussions will appear. TLDR, make sure you have enough memory allocated. Image resizing, for example, is very memory intensive.

10 years ago

If there are many or large images, consider bypassing the default Gregwar and PHP caching mechanisms and do it yourself, for example with Node and Gulp.

Suggested topics

Topic Participants Replies Views Activity
Archive · by Deleted User, 9 years ago
0 1354 9 years ago
Archive · by Muut Archive, 9 years ago
2 935 9 years ago
Archive · by Muut Archive, 9 years ago
2 4065 9 years ago
Archive · by Muut Archive, 9 years ago
1 2953 9 years ago
Archive · by Muut Archive, 9 years ago
3 1119 9 years ago