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

#   Characteristics - Fatal error: Allowed memory size

##

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

Less More

- Posts: 3
- Thank you received: 0
-
-

15 years 3 months ago -  15 years 3 months ago [\#21488](#21488) by [marcioamf](/forum/user/3352-marcioamf "View marcioamf's Profile")  *[Characteristics - Fatal error: Allowed memory size](/forum/3-bug-report/21488-characteristics-fatal-error-allowed-memory-size#21488 "Hi there!  I have created a few characteristics for a product and when i add them all i get the following message:   Fatal error: Allowed memory size of 67108864 bytes exhausted (tried to allocate 35 bytes) in /Applications/XAMPP/xamppfiles/htdocs/MadSurfboards/public&#95;html/administrator/components/com&#95;hikashop/classes/product.php on line 498  I have tried to change php.ini or even add /&#42;ini&#95;set(&quot;memory&#95;limit&quot;,&quot;5024M&quot;);&#42;/ to the script but it does not matter how much i increase the memory the script won't work.  It works if i just add a few characteristics but if i add all the 15 i have for the product, it does not work.. even if i add 10, 9 or 8... it only works if i add like 4 or 5 characteristics... any way around it to make it work?  Here are the fields i have created : 1 Size 2 Tail Shape 3 Rails 4 Rocker 5 Stance 6 Surfing Ability 7 Bottom Shape 8 Finish 9 Fins 10 Fins Type 11 Logo's 12 Logo Position 13 Glassing instruction Polly Deck 14 Glassing instruction Polly Bottom 15 Glassing instruction Polly Insert  where each one has 4 to 7 options to choose from...  Also, i read that now we can add custom fields to the characteristic on the new version.. how do i do that?  Thanks in advance for any help.. i have a meeting with client soon so any ideas will be more than welcome.  Marcio Ferreira")* was created by *[marcioamf](/forum/user/3352-marcioamf "View marcioamf's Profile")*

Hi there!

I have created a few characteristics for a product and when i add them all i get the following message:

**Fatal error: Allowed memory size of 67108864 bytes exhausted (tried to allocate 35 bytes) in /Applications/XAMPP/xamppfiles/htdocs/MadSurfboards/public\_html/administrator/components/com\_hikashop/classes/product.php on line 498**

I have tried to change php.ini or even add /*ini_set("memory_limit","5024M");*/ to the script but it does not matter how much i increase the memory the script won't work.

It works if i just add a few characteristics but if i add all the 15 i have for the product, it does not work.. even if i add 10, 9 or 8... it only works if i add like 4 or 5 characteristics... any way around it to make it work?

Here are the fields i have created :
1 Size
2 Tail Shape
3 Rails
4 Rocker
5 Stance
6 Surfing Ability
7 Bottom Shape
8 Finish
9 Fins
10 Fins Type
11 Logo's
12 Logo Position
13 Glassing instruction Polly Deck
14 Glassing instruction Polly Bottom
15 Glassing instruction Polly Insert

where each one has 4 to 7 options to choose from...

Also, i read that now we can add custom fields to the characteristic on the new version.. how do i do that?

Thanks in advance for any help.. i have a meeting with client soon so any ideas will be more than welcome.

Marcio Ferreira

Last edit: 15 years 3 months ago by [marcioamf](/forum/user/3352-marcioamf "View marcioamf's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMtYnVnLXJlcG9ydC8yMTQ4OC1jaGFyYWN0ZXJpc3RpY3MtZmF0YWwtZXJyb3ItYWxsb3dlZC1tZW1vcnktc2l6ZT90bXBsPW1hcmtkb3du) 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")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86315
- Thank you received: 14276
-
-

15 years 3 months ago [\#21495](#21495) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: Characteristics - Fatal error: Allowed memory size](/forum/3-bug-report/21488-characteristics-fatal-error-allowed-memory-size#21495 "Hi there!  I have created a few characteristics for a product and when i add them all i get the following message:   Fatal error: Allowed memory size of 67108864 bytes exhausted (tried to allocate 35 bytes) in /Applications/XAMPP/xamppfiles/htdocs/MadSurfboards/public&#95;html/administrator/components/com&#95;hikashop/classes/product.php on line 498  I have tried to change php.ini or even add /&#42;ini&#95;set(&quot;memory&#95;limit&quot;,&quot;5024M&quot;);&#42;/ to the script but it does not matter how much i increase the memory the script won't work.  It works if i just add a few characteristics but if i add all the 15 i have for the product, it does not work.. even if i add 10, 9 or 8... it only works if i add like 4 or 5 characteristics... any way around it to make it work?  Here are the fields i have created : 1 Size 2 Tail Shape 3 Rails 4 Rocker 5 Stance 6 Surfing Ability 7 Bottom Shape 8 Finish 9 Fins 10 Fins Type 11 Logo's 12 Logo Position 13 Glassing instruction Polly Deck 14 Glassing instruction Polly Bottom 15 Glassing instruction Polly Insert  where each one has 4 to 7 options to choose from...  Also, i read that now we can add custom fields to the characteristic on the new version.. how do i do that?  Thanks in advance for any help.. i have a meeting with client soon so any ideas will be more than welcome.  Marcio Ferreira")*

Hi,

You have the same problem as described there: [ www.hikashop.com/en/support/forum/2-gene...istic-questions.html](http://www.hikashop.com/en/support/forum/2-general-talk-about-hikashop/11041-option--variant--characteristic-questions.html)
The solution of using options instead of characteristics has been added to HikaShop 2 months ago:
[ www.hikashop.com/support/documentation/i...ct-form.html#options](http://www.hikashop.com/support/documentation/integrated-documentation/19-hikashop-product-form.html#options)

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

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

[](#top)
