FriendsOfShopware / FroshWebP

WebP Support for Shopware
MIT License
35 stars 25 forks source link

Allowed memory size exhausted #54

Closed dewib77 closed 5 years ago

dewib77 commented 5 years ago

42 Actual behaviour

While generating WebP images via Shopware CLI console this error occurs: 

PHP Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 18034103 bytes) in /MY_SW_INSTALL_PATH/custom/plugins/FroshWebP/Services/WebpEncoders/PhpGd.php on line 23

Expected behaviour

complete WebP generation

Environment

Hosted on a Managed Server (no shared webspace) at all-inkl.com

Steps to reproduce

  1. type SSH command "bin/console frosh:webp:generate"
  2. wait 'till about 1400 images in our case (think, it depends on file size)
  3. be frustrated because of error message at 27% of process every time you try

Checklist

--

♥ ANY INCOMPLETE REPORT WILL BE CLOSED RIGHT AWAY ♥

dewib77 commented 5 years ago

problem solved, it was an hosting issue. increasing memory_limit helped.