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

#   Random memory issues reported adding items to cart

##

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

Less More

- Posts: 116
- Thank you received: 7
-

10 years 8 months ago [\#233681](#233681) by [stratacorps](/forum/user/33546-stratacorps "View stratacorps's Profile")  *[Random memory issues reported adding items to cart](/forum/27-checkout/883186-random-memory-issues-reported-adding-items-to-cart#233681 "-- HikaShop version -- : 2.6.1 -- Joomla version -- : 3.4.8 -- PHP version -- : 5.6.18 -- Browser(s) name and version -- : any -- Error-message(debug-mod must be tuned on) -- : PHP Fatal error: Allowed memory size of 419430400 bytes exhausted (tried to allocate 130968 bytes) in /home/xxx/public&#95;html/administrator/components/com&#95;hikashop/classes/cart.php on line 310 PHP Fatal error: Allowed memory size of 419430400 bytes exhausted (tried to allocate 65552 bytes) in /home/xxx/public&#95;html/libraries/joomla/filter/input.php on line 980  I had a similar problem that reported memory size of X exhausted and a manual update to that module seemed to move the problem to another location.  It doesn't happen consistently...reports from users attempting to check out say that their browser &quot;freezes&quot; or they get a white screen.  When enabling debugging, and monitoring the website, about 3 or 4 times a day we get the Allowed memory size of X exhausted in ../com&#95;hikashop/classes/car.php on line 310 then immediately followed by another memory error on /libraries/joomla/filter/input.php on line 980  I've tried researching the joomla/filter/input.php as I've seen this before on other sites, but those fixes normally indicated something &quot;upstream&quot; that was triggering the issue.  I have kept increasing the PHP memory limit earlier, and it doesn't seem to matter how much memory I throw at it, so I'm guessing there is a problem with the 3rd party application (JEvents/RSVP Pro) that is adding the item to the cart. I've been having issues with saved carts so I've disabled that feature in Hikashop.  I don't know where else to turn to try and pinpoint whats happening. We can get orders for the same event for hours without any issues, then randomly we'll get the out of memory error. The visitors we've worked with say that it is after they've added the item to the shopping cart, just before the cart is displayed.  Can you offer any suggestions on how to pinpoint this further? I've disabled all of the plugins, then enabled them one at a time, but since the issue can't be replicated by me personally, I really don't know how to track it down.  Thanks")* was created by *[stratacorps](/forum/user/33546-stratacorps "View stratacorps's Profile")*

-- HikaShop version -- : 2.6.1
-- Joomla version -- : 3.4.8
-- PHP version -- : 5.6.18
-- Browser(s) name and version -- : any
-- Error-message(debug-mod must be tuned on) -- : PHP Fatal error: Allowed memory size of 419430400 bytes exhausted (tried to allocate 130968 bytes) in /home/xxx/public_html/administrator/components/com_hikashop/classes/cart.php on line 310
PHP Fatal error: Allowed memory size of 419430400 bytes exhausted (tried to allocate 65552 bytes) in /home/xxx/public_html/libraries/joomla/filter/input.php on line 980

I had a similar problem that reported memory size of X exhausted and a manual update to that module seemed to move the problem to another location.

It doesn't happen consistently...reports from users attempting to check out say that their browser "freezes" or they get a white screen.

When enabling debugging, and monitoring the website, about 3 or 4 times a day we get the Allowed memory size of X exhausted in ../com_hikashop/classes/car.php on line 310 then immediately followed by another memory error on /libraries/joomla/filter/input.php on line 980

I've tried researching the joomla/filter/input.php as I've seen this before on other sites, but those fixes normally indicated something "upstream" that was triggering the issue.

I have kept increasing the PHP memory limit earlier, and it doesn't seem to matter how much memory I throw at it, so I'm guessing there is a problem with the 3rd party application (JEvents/RSVP Pro) that is adding the item to the cart. I've been having issues with saved carts so I've disabled that feature in Hikashop.

I don't know where else to turn to try and pinpoint whats happening. We can get orders for the same event for hours without any issues, then randomly we'll get the out of memory error. The visitors we've worked with say that it is after they've added the item to the shopping cart, just before the cart is displayed.

Can you offer any suggestions on how to pinpoint this further? I've disabled all of the plugins, then enabled them one at a time, but since the issue can't be replicated by me personally, I really don't know how to track it down.

Thanks

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

10 years 8 months ago [\#233701](#233701) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Random memory issues reported adding items to cart](/forum/27-checkout/883186-random-memory-issues-reported-adding-items-to-cart#233701 "-- HikaShop version -- : 2.6.1 -- Joomla version -- : 3.4.8 -- PHP version -- : 5.6.18 -- Browser(s) name and version -- : any -- Error-message(debug-mod must be tuned on) -- : PHP Fatal error: Allowed memory size of 419430400 bytes exhausted (tried to allocate 130968 bytes) in /home/xxx/public&#95;html/administrator/components/com&#95;hikashop/classes/cart.php on line 310 PHP Fatal error: Allowed memory size of 419430400 bytes exhausted (tried to allocate 65552 bytes) in /home/xxx/public&#95;html/libraries/joomla/filter/input.php on line 980  I had a similar problem that reported memory size of X exhausted and a manual update to that module seemed to move the problem to another location.  It doesn't happen consistently...reports from users attempting to check out say that their browser &quot;freezes&quot; or they get a white screen.  When enabling debugging, and monitoring the website, about 3 or 4 times a day we get the Allowed memory size of X exhausted in ../com&#95;hikashop/classes/car.php on line 310 then immediately followed by another memory error on /libraries/joomla/filter/input.php on line 980  I've tried researching the joomla/filter/input.php as I've seen this before on other sites, but those fixes normally indicated something &quot;upstream&quot; that was triggering the issue.  I have kept increasing the PHP memory limit earlier, and it doesn't seem to matter how much memory I throw at it, so I'm guessing there is a problem with the 3rd party application (JEvents/RSVP Pro) that is adding the item to the cart. I've been having issues with saved carts so I've disabled that feature in Hikashop.  I don't know where else to turn to try and pinpoint whats happening. We can get orders for the same event for hours without any issues, then randomly we'll get the out of memory error. The visitors we've worked with say that it is after they've added the item to the shopping cart, just before the cart is displayed.  Can you offer any suggestions on how to pinpoint this further? I've disabled all of the plugins, then enabled them one at a time, but since the issue can't be replicated by me personally, I really don't know how to track it down.  Thanks")*

Hi,

Well, since this doesn't happen by default in HikaShop, it could be either because the way it's configured (for example, too many variants for the product), or a 3rd party extension or a combination of both.
The first thing, to pin point the cause of the issue, is to be able to consistently reproduce it.
So check with your customers, if they use a specific browser, if it happens only for a specific product, etc.

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

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