OUT OF MEMORY WHILE REGENERATING IMAGES IN PRESTASHOP

Avatar
  • Answered
HI TEAM,
I AM TRYING TO REGENRATE IMAGE SIN MY PRESTASHOP BACKEND ....AFTER A WHILE , IT STATES THE ERRROR " Fatal error: Out of memory (allocated 766771200) (tried to allocate 32 bytes) in /home/order27/public_html/classes/db/DbPDO.php on line 179"

I HAVE TRIED EVERYTHINGPOSSIBLE BYU CHANGING THE MEMORY LIMIT TO 2048 MB AND EVEN -1 , ALSO ECECUTION TIME TO 300 SEC BUT NO HELP ..... CAN YOU PLEASE HELP WHAT MIGHT BE THE TROUBLE CAUSING IT .
Avatar
johnpaulb-imhs1
Hello, Thank you for contacting us about an "Out of memory" error. The allocated memory can be modified in your PHP settings, this is covered in our full guide Fixing the Allowed memory size exhausted error. It also explains how to make the changes recursive, or affect the child folders. Creating a phpinfo page can also help identify the amount of allocated memory. Enabling error reporting in PrestaShop may provide a more detailed or specific error. Also, keep in mind that image processing can be very resource intensive, and it is often easier to process them before uploading to your site. If you have any further questions, feel free to post them below. Thank you, John-Paul