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

#   Failure Product after large number of Variants

##

- **[szwart](/forum/user/51634-szwart "View szwart's Profile")**
- [![szwart's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar51634.png)](/forum/user/51634-szwart "View szwart's Profile") Topic Author
- [ Offline](/forum/user/51634-szwart)

Less More

- Posts: 26
- Thank you received: 1
-
-

9 years 3 months ago [\#275387](#275387) by [szwart](/forum/user/51634-szwart "View szwart's Profile")  *[Failure Product after large number of Variants](/forum/32-content-creation/891407-failure-product-after-large-number-of-variants#275387 "-- HikaShop version -- : 3.1.1 -- Joomla version -- : 3.7.4 -- PHP version -- : 5.6  Hi All,  I Tested something with large number of variants, issue now is i cannot open this product anymore, then i get a 500 Server Error PHP Error is telling me following  &#42;&#42; Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 56 bytes) in /home/vhosts/houtvanappel.nl/httpdocs/libraries/joomla/database/driver/mysqli.php on line 886 &#42;&#42;  I can add other products and everything, but this specific product causes this error, how can i remove this product, select and delte doesnt work, gives same error...")* was created by *[szwart](/forum/user/51634-szwart "View szwart's Profile")*

-- HikaShop version -- : 3.1.1
-- Joomla version -- : 3.7.4
-- PHP version -- : 5.6

Hi All,

I Tested something with large number of variants, issue now is i cannot open this product anymore, then i get a 500 Server Error
PHP Error is telling me following

**
Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 56 bytes) in /home/vhosts/houtvanappel.nl/httpdocs/libraries/joomla/database/driver/mysqli.php on line 886
**

I can add other products and everything, but this specific product causes this error, how can i remove this product, select and delte doesnt work, gives same error...

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

- **[Jerome](/forum/user/80-jerome "View Jerome's Profile")**
- [![Jerome's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar80.png)](/forum/user/80-jerome "View Jerome's Profile")
- [ Offline](/forum/user/80-jerome)
- HikaShop core developer

Less More

- Posts: 26402
- Thank you received: 4081
-
- [](http://obsi.dev)
-

9 years 3 months ago [\#275411](#275411) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[Failure Product after large number of Variants](/forum/32-content-creation/891407-failure-product-after-large-number-of-variants#275411 "-- HikaShop version -- : 3.1.1 -- Joomla version -- : 3.7.4 -- PHP version -- : 5.6  Hi All,  I Tested something with large number of variants, issue now is i cannot open this product anymore, then i get a 500 Server Error PHP Error is telling me following  &#42;&#42; Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 56 bytes) in /home/vhosts/houtvanappel.nl/httpdocs/libraries/joomla/database/driver/mysqli.php on line 886 &#42;&#42;  I can add other products and everything, but this specific product causes this error, how can i remove this product, select and delte doesnt work, gives same error...")*

Hello,

How many variants do you have for your product ?

Please understand that, more you have variant and more memory it will require for your server to handle them all.
So if you want to interact with huge number of variants ; you need to increase your server memory limit.

Regards,

---

Jerome - Obsidev.com
HikaMarket &amp; HikaSerial developer / HikaShop core dev team.

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

- **[szwart](/forum/user/51634-szwart "View szwart's Profile")**
- [![szwart's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar51634.png)](/forum/user/51634-szwart "View szwart's Profile") Topic Author
- [ Offline](/forum/user/51634-szwart)

Less More

- Posts: 26
- Thank you received: 1
-
-

9 years 3 months ago [\#275444](#275444) by [szwart](/forum/user/51634-szwart "View szwart's Profile")  Replied by *[szwart](/forum/user/51634-szwart "View szwart's Profile")* on topic *[Failure Product after large number of Variants](/forum/32-content-creation/891407-failure-product-after-large-number-of-variants#275444 "-- HikaShop version -- : 3.1.1 -- Joomla version -- : 3.7.4 -- PHP version -- : 5.6  Hi All,  I Tested something with large number of variants, issue now is i cannot open this product anymore, then i get a 500 Server Error PHP Error is telling me following  &#42;&#42; Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 56 bytes) in /home/vhosts/houtvanappel.nl/httpdocs/libraries/joomla/database/driver/mysqli.php on line 886 &#42;&#42;  I can add other products and everything, but this specific product causes this error, how can i remove this product, select and delte doesnt work, gives same error...")*

Do i need to upgrade the limit of the SQL?

It happend by accident, its over 2000 variants if i guess.
but i cannot delete the product anymore, because of getting 500 server error.
how to delete this one?

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

- **[Jerome](/forum/user/80-jerome "View Jerome's Profile")**
- [![Jerome's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar80.png)](/forum/user/80-jerome "View Jerome's Profile")
- [ Offline](/forum/user/80-jerome)
- HikaShop core developer

Less More

- Posts: 26402
- Thank you received: 4081
-
- [](http://obsi.dev)
-

9 years 3 months ago [\#275447](#275447) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[Failure Product after large number of Variants](/forum/32-content-creation/891407-failure-product-after-large-number-of-variants#275447 "-- HikaShop version -- : 3.1.1 -- Joomla version -- : 3.7.4 -- PHP version -- : 5.6  Hi All,  I Tested something with large number of variants, issue now is i cannot open this product anymore, then i get a 500 Server Error PHP Error is telling me following  &#42;&#42; Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 56 bytes) in /home/vhosts/houtvanappel.nl/httpdocs/libraries/joomla/database/driver/mysqli.php on line 886 &#42;&#42;  I can add other products and everything, but this specific product causes this error, how can i remove this product, select and delte doesnt work, gives same error...")*

Hello,

The memory limit issue you have is regarding PHP.

2000 is indeed way too much for variants and you can use "options" of "custom fields" in order to avoid having so many items.
If you got more than 100 variants, we consider that you can use another feature to avoid having so many entries to manage (prices, images, etc).

If you can't delete them from the backend product page, I'm afraid that you'll need to do it manually via PHPMyAdmin.
You have to delete elements in the table "hikashop_product" which have the "product_type" "variant" and the "product_parent_id" of the product causing issues.
And you also need to clean up the table "hikashop_variant" and maybe the table "hikashop_price" if you added prices to these variants.

Regards,

---

Jerome - Obsidev.com
HikaMarket &amp; HikaSerial developer / HikaShop core dev team.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMyLWNvbnRlbnQtY3JlYXRpb24vODkxNDA3LWZhaWx1cmUtcHJvZHVjdC1hZnRlci1sYXJnZS1udW1iZXItb2YtdmFyaWFudHM/dG1wbD1tYXJrZG93bg==) 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.057 seconds

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