Join us for EEConf 2023, October 4-5 in Orlando. Speakers. Networking. Community powered. Awesome.

Join us for EEConf 2023, October 4-5 in Orlando.

Register Now!

We use cookies to improve your experience. No personal information is gathered and we don't serve ads. Cookies Policy.

ExpressionEngine Logo ExpressionEngine
Features Pricing Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University
Log In or Sign Up
Log In Sign Up
ExpressionEngine Logo
Features Pro new Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University Blog
  • Home
  • Forums

Fatal Error memory size of ..... exhausted

Development and Programming

John Condy's avatar
John Condy
7 posts
one week ago
John Condy's avatar John Condy

I am using the latest ee version and cartthrob 8 all was just upgraded today.

After I pay using paypal standard I get the error:

Fatal error: Allowed memory size of …… bytes exhausted (tried to allocate 262144 bytes) in /home/sitename/public_html/ststem/user/addons/cartthrob/build/omnipay/common/src/Common/ParametersTrait.php on line 35

Has anyone else encountered this or know how to fix it.

The site logs the purchase to the backend and the money comes out of the account and paypal sends an email however the site does not send and email and the site is on sitedomain/index.php/store/checkout rather than going to sitedomain/store/order_info

Any help would be greatly appreciated.

Thanks, John

       
Rob Allen's avatar
Rob Allen
3,035 posts
one week ago
Rob Allen's avatar Rob Allen

Can you try bumping up available memory for the site, most of my EE sites run 128mb or 256mb. In my experience some modules like Cartthrob can need it. I’d guess the email isn’t sent because Cartthrob hasn’t got enough memory to do all its back office processes when an order is placed.

       
mithra62's avatar
mithra62
51 posts
one week ago
mithra62's avatar mithra62

Pretty much what Rob said; try increasing memory. Depending on how your Channel Entry data model is setup, and how CartThrob is configured, it can require quite a bit of memory. I’d go for at least 528MB to start.

       
John Condy's avatar
John Condy
7 posts
one week ago
John Condy's avatar John Condy

Hi guys, before coming here I had already talked to my hosting and memory limit was increased to 2048mb on the site with a post_max_size of 512 and a upload_max_filesize of 512 also so I didn’t think that the site would need more than that. This is why I had come to the conclusion that it may be some other issue that is triggering this error.

Thanks, John

       

Reply

Sign In To Reply

ExpressionEngine Home Features Pro Contact Version Support
Learn Docs University Forums
Resources Support Add-Ons Partners Blog
Privacy Terms Trademark Use License

Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.