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

#   Memory Allocation - Too many characteristics

##

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

Less More

- Posts: 23
- Thank you received: 0
-
-

14 years 11 months ago [\#31240](#31240) by [mmccarthy](/forum/user/4327-mmccarthy "View mmccarthy's Profile")  *[Memory Allocation - Too many characteristics](/forum/4-how-to/31240-memory-allocation-too-many-characteristics#31240 "Need help resolving a memory allocation issue on this site we are building. I have 395 products (not that many), each product has up to at least 7 characteristics that I have created, some of the...")* was created by *[mmccarthy](/forum/user/4327-mmccarthy "View mmccarthy's Profile")*

Need help resolving a memory allocation issue on this site we are building. I have 395 products (not that many), each product has up to at least 7 characteristics that I have created, some of the characteristics have up to 20 or more values. Thus, I am running into a memory allocation fatal error... To no avail, I have attempted to mitigate the issue by upping my memory_limit setting to a whopping 1024M.

Should I (would I) be better off making each of these characteristics "custom fields" instead? Not all products have the same attributes (characteristics) though.

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

Less More

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

14 years 11 months ago [\#31257](#31257) 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 Allocation - Too many characteristics](/forum/4-how-to/31240-memory-allocation-too-many-characteristics#31257 "Need help resolving a memory allocation issue on this site we are building. I have 395 products (not that many), each product has up to at least 7 characteristics that I have created, some of the...")*

The problem does not come from the number of products you have but from your characteristics.
You have too much possibilities. For example, if you have 3 characteristics with 10 values each, that's 10*10*10=1000 possibilities. That's already too much.
You should indeed transform some characteristics into custom fields ( [ www.hikashop.com/en/support/documentatio...p-field-listing.html](http://www.hikashop.com/en/support/documentation/integrated-documentation/41-hikashop-field-listing.html) ) or options ( [ 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) ) so that it becomes more manageable for your server.

Characteristics should only be used when you want to change some of the information on the products (the stock, the price, the image, etc). For choices which do not affect any of that custom fields of the table "item" are the way to go.

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

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

Less More

- Posts: 23
- Thank you received: 0
-
-

14 years 11 months ago [\#31314](#31314) by [mmccarthy](/forum/user/4327-mmccarthy "View mmccarthy's Profile")  Replied by *[mmccarthy](/forum/user/4327-mmccarthy "View mmccarthy's Profile")* on topic *[Re: Memory Allocation - Too many characteristics](/forum/4-how-to/31240-memory-allocation-too-many-characteristics#31314 "Need help resolving a memory allocation issue on this site we are building. I have 395 products (not that many), each product has up to at least 7 characteristics that I have created, some of the...")*

Thank you for confirming the "custom_fields" fix, worked like a charm.

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

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

[](#top)
