[Skip to main content](#vessel-content)

#   Memory Limit - Images Issue

##

- **[bendraper](/forum/user/6360-bendraper "View bendraper's Profile")**
- [![bendraper's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/6360-bendraper "View bendraper's Profile") Topic Author
- [ Offline](/forum/user/6360-bendraper)

Less More

- Posts: 28
- Thank you received: 2
-
-

14 years 7 months ago [\#46732](#46732) by [bendraper](/forum/user/6360-bendraper "View bendraper's Profile")  *[Memory Limit - Images Issue](/forum/3-bug-report/46732-memory-limit-images-issue#46732 "Hi,  I've already read a little about this problem in the forumas and the joomla forums.  Every now and then when loading a product page I get the following error: &quot; Fatal error: Allowed memory size of 50331648 bytes exhausted (tried to allocate 15399956 bytes) in &#42;/administrator/components/com&#95;hikashop/helpers/image.php on line 377&quot;  I've checked my memory limit settings and PHP has 48Mb - the process indeicates that it needs 150Mb of memory which seams like an awful lot.  I suspect (as a result of reading replies to other similar issues) that this is due to pictures on the site and their size - I've cleaned out the /media/com&#95;hikashop/uploads folder of all the various thumbnails and been through every page of the site (I figures that this would remove any excess and force a redraw of the relevant thumbnails. But this has not solved the problem.  The issue appears to go away when I reduce the number of products displayed on the latest products banner at the bottom of the page - but this is not an ideal solution.  Any thoughts?  Kind regards  Ben")* was created by *[bendraper](/forum/user/6360-bendraper "View bendraper's Profile")*

Hi,

I've already read a little about this problem in the forumas and the joomla forums.

Every now and then when loading a product page I get the following error:
"
Fatal error: Allowed memory size of 50331648 bytes exhausted (tried to allocate 15399956 bytes) in */administrator/components/com_hikashop/helpers/image.php on line 377"

I've checked my memory limit settings and PHP has 48Mb - the process indeicates that it needs 150Mb of memory which seams like an awful lot.

I suspect (as a result of reading replies to other similar issues) that this is due to pictures on the site and their size - I've cleaned out the /media/com_hikashop/uploads folder of all the various thumbnails and been through every page of the site (I figures that this would remove any excess and force a redraw of the relevant thumbnails. But this has not solved the problem.

The issue appears to go away when I reduce the number of products displayed on the latest products banner at the bottom of the page - but this is not an ideal solution.
[ ](http://www.lilybshop.co.uk/shop)[ www.lilybshop.co.uk/shop](http://www.lilybshop.co.uk/shop)

Any thoughts?

Kind regards

Ben

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMtYnVnLXJlcG9ydC80NjczMi1tZW1vcnktbGltaXQtaW1hZ2VzLWlzc3VlP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86555
- Thank you received: 14304
-
-

14 years 7 months ago [\#46772](#46772) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: Memory Limit - Images Issue](/forum/3-bug-report/46732-memory-limit-images-issue#46772 "Hi,  I've already read a little about this problem in the forumas and the joomla forums.  Every now and then when loading a product page I get the following error: &quot; Fatal error: Allowed memory size of 50331648 bytes exhausted (tried to allocate 15399956 bytes) in &#42;/administrator/components/com&#95;hikashop/helpers/image.php on line 377&quot;  I've checked my memory limit settings and PHP has 48Mb - the process indeicates that it needs 150Mb of memory which seams like an awful lot.  I suspect (as a result of reading replies to other similar issues) that this is due to pictures on the site and their size - I've cleaned out the /media/com&#95;hikashop/uploads folder of all the various thumbnails and been through every page of the site (I figures that this would remove any excess and force a redraw of the relevant thumbnails. But this has not solved the problem.  The issue appears to go away when I reduce the number of products displayed on the latest products banner at the bottom of the page - but this is not an ideal solution.  Any thoughts?  Kind regards  Ben")*

Hi,

That's indeed a lot of memory usage. Normally, once a thumbnail is created, the memory is not used.
Did you check that the thumbnails were indeed recreated in the thumbnails_XxY folders of the media/com_hikashop/upload folder ?
I'm thinking that maybe you have access right problems preventing HikaShop to save the thumbnails in the folder so it tries to recreate them on each page.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMtYnVnLXJlcG9ydC80NjczMi1tZW1vcnktbGltaXQtaW1hZ2VzLWlzc3VlP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[bendraper](/forum/user/6360-bendraper "View bendraper's Profile")**
- [![bendraper's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/6360-bendraper "View bendraper's Profile") Topic Author
- [ Offline](/forum/user/6360-bendraper)

Less More

- Posts: 28
- Thank you received: 2
-
-

14 years 7 months ago [\#46785](#46785) by [bendraper](/forum/user/6360-bendraper "View bendraper's Profile")  Replied by *[bendraper](/forum/user/6360-bendraper "View bendraper's Profile")* on topic *[Re: Memory Limit - Images Issue](/forum/3-bug-report/46732-memory-limit-images-issue#46785 "Hi,  I've already read a little about this problem in the forumas and the joomla forums.  Every now and then when loading a product page I get the following error: &quot; Fatal error: Allowed memory size of 50331648 bytes exhausted (tried to allocate 15399956 bytes) in &#42;/administrator/components/com&#95;hikashop/helpers/image.php on line 377&quot;  I've checked my memory limit settings and PHP has 48Mb - the process indeicates that it needs 150Mb of memory which seams like an awful lot.  I suspect (as a result of reading replies to other similar issues) that this is due to pictures on the site and their size - I've cleaned out the /media/com&#95;hikashop/uploads folder of all the various thumbnails and been through every page of the site (I figures that this would remove any excess and force a redraw of the relevant thumbnails. But this has not solved the problem.  The issue appears to go away when I reduce the number of products displayed on the latest products banner at the bottom of the page - but this is not an ideal solution.  Any thoughts?  Kind regards  Ben")*

A fair point from Jerome about this (I'm not sure if it was a PM or a post, but I can't see the post here) I misread the bytes figure as 15Mb when it is in fact 15Mb - which makes more sence when looking at the file sizes of the pictures in question.

Server permissions do not seem to be an issue - the thumbnails are in the folders (although there a lot of different folders and sizes as a result of different original image dimensions) and take up about 5Mb

Really confused, but I will have another play in the morning and see if I can figure out if it is creating the images each time and stop it doing it!!

Kind regards

Ben

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMtYnVnLXJlcG9ydC80NjczMi1tZW1vcnktbGltaXQtaW1hZ2VzLWlzc3VlP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

Board Categories HikaShop Install &amp; Update Product &amp; Category Display Content Creation Sales and Orders Orders management Reports &amp; Statistics Customers Checkout Payment Methods Shipping Methods Import &amp; Export (CSV, XLS…) Specific Features Affilation Taxes Wishlist Vote Carousel &amp; Slider Mass Actions Filters &amp; Search Discount &amp; Coupon Feature Request Integrations Showcase General Talk about HikaShop Development HikaShop 3.0 Beta Translation Commercial Jobs HikaShop Components HikaMarket Market: Feature requests Market: How to? Market: Bug Report HikaSerial General talk about HikaSerial Serial: Bug Report Serial: How to? Support en Français de HikaSerial (French Support) HikaSubscription HikaAuction Auction: Feature requests Auction: How to? Auction: Bug report Hikashop around the world Support en Français (French Support) Russian FAQ. Курс выживания с Hikashop. Частые вопросы и о Расширения Hikashop Наши сайты на Hikashop 日本語版サポート(Japanese Support) Thai German Archives Bug Report How to?

[](/forum/topics/feed/mode-topics?format=feed&type=rss)

Time to create page: 0.058 seconds

[Powered by](/forum/credits) [Kunena Forum](https://www.kunena.org)
