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

#   Fatal error: Allowed memory size

##

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

Less More

- Posts: 2
- Thank you received: 0
-
-

14 years 6 months ago [\#49881](#49881) by [adminh2b](/forum/user/7413-adminh2b "View adminh2b's Profile")  *[Fatal error: Allowed memory size](/forum/3-bug-report/49881-fatal-error-allowed-memory-size#49881 "Hi,  When I add 3 variants under characteristics I then get a :  Fatal error: Allowed memory size of 67108864 bytes exhausted (tried to allocate 1572864 bytes) in /home/content/c/a/p/xxxxxxxx/html/xxxxxxxxxxxxxxx/libraries/joomla/database/database/mysqli.php on line 498  I tried adding ini&#95;set('memory&#95;limit', '512M'); to my root index.php file and also tried adding php&#95;value memory&#95;limit 512M to my htaccess file with no luck.  Any help would be appreciated. Thank you in advance")* was created by *[adminh2b](/forum/user/7413-adminh2b "View adminh2b's Profile")*

Hi,

When I add 3 variants under characteristics I then get a :

Fatal error: Allowed memory size of 67108864 bytes exhausted (tried to allocate 1572864 bytes) in /home/content/c/a/p/xxxxxxxx/html/xxxxxxxxxxxxxxx/libraries/joomla/database/database/mysqli.php on line 498

I tried adding ini_set('memory_limit', '512M'); to my root index.php file and also tried adding php_value memory_limit 512M to my htaccess file with no luck.

Any help would be appreciated. Thank you in advance

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMtYnVnLXJlcG9ydC80OTg4MS1mYXRhbC1lcnJvci1hbGxvd2VkLW1lbW9yeS1zaXplP3RtcGw9bWFya2Rvd24=) 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: 86541
- Thank you received: 14304
-
-

14 years 6 months ago [\#49896](#49896) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: Fatal error: Allowed memory size](/forum/3-bug-report/49881-fatal-error-allowed-memory-size#49896 "Hi,  When I add 3 variants under characteristics I then get a :  Fatal error: Allowed memory size of 67108864 bytes exhausted (tried to allocate 1572864 bytes) in /home/content/c/a/p/xxxxxxxx/html/xxxxxxxxxxxxxxx/libraries/joomla/database/database/mysqli.php on line 498  I tried adding ini&#95;set('memory&#95;limit', '512M'); to my root index.php file and also tried adding php&#95;value memory&#95;limit 512M to my htaccess file with no luck.  Any help would be appreciated. Thank you in advance")*

How many values do you have for your characteristics ?
If you have too much of them it might not be possible to have so many characteristics. In that case, you might want to use options or custom fields of the table "item" instead.
[ www.hikashop.com/en/support/documentatio...ct-form.html#options](http://www.hikashop.com/en/support/documentation/integrated-documentation/19-hikashop-product-form.html#options)
[ www.hikashop.com/en/support/documentatio...p-field-listing.html](http://www.hikashop.com/en/support/documentation/41-hikashop-field-listing.html)

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

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

Less More

- Posts: 2
- Thank you received: 0
-
-

14 years 6 months ago [\#49974](#49974) by [adminh2b](/forum/user/7413-adminh2b "View adminh2b's Profile")  Replied by *[adminh2b](/forum/user/7413-adminh2b "View adminh2b's Profile")* on topic *[Re: Fatal error: Allowed memory size](/forum/3-bug-report/49881-fatal-error-allowed-memory-size#49974 "Hi,  When I add 3 variants under characteristics I then get a :  Fatal error: Allowed memory size of 67108864 bytes exhausted (tried to allocate 1572864 bytes) in /home/content/c/a/p/xxxxxxxx/html/xxxxxxxxxxxxxxx/libraries/joomla/database/database/mysqli.php on line 498  I tried adding ini&#95;set('memory&#95;limit', '512M'); to my root index.php file and also tried adding php&#95;value memory&#95;limit 512M to my htaccess file with no luck.  Any help would be appreciated. Thank you in advance")*

I have 3 characteristics

1st characteristic has 13 values
2nd characteristic has 32 values
3rd characteristic has 21 values

I am trying to do a pick your day, month and time.
You are correct. Seems a product custom field would be better. I will upgrade.

Thank you for your quick reply!

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMtYnVnLXJlcG9ydC80OTg4MS1mYXRhbC1lcnJvci1hbGxvd2VkLW1lbW9yeS1zaXplP3RtcGw9bWFya2Rvd24=) 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: 86541
- Thank you received: 14304
-
-

14 years 6 months ago [\#49980](#49980) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: Fatal error: Allowed memory size](/forum/3-bug-report/49881-fatal-error-allowed-memory-size#49980 "Hi,  When I add 3 variants under characteristics I then get a :  Fatal error: Allowed memory size of 67108864 bytes exhausted (tried to allocate 1572864 bytes) in /home/content/c/a/p/xxxxxxxx/html/xxxxxxxxxxxxxxx/libraries/joomla/database/database/mysqli.php on line 498  I tried adding ini&#95;set('memory&#95;limit', '512M'); to my root index.php file and also tried adding php&#95;value memory&#95;limit 512M to my htaccess file with no luck.  Any help would be appreciated. Thank you in advance")*

Note that the custom field should be of the table "item" not "product" if you want the user to configure that.

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

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