MarkFl
MarkFl

Reputation: 368

Magento trying to allocate excessive amounts of memory

I'm having an issue with my Magento 1.6.1.0 community edition store. It's attempting to allocate roughly half a gigabyte of memory every 15 seconds or so. Unfortunatly the error message isn't very helpful as you can see below:

[29-Mar-2012 07:36:38] PHP Fatal error:  Allowed memory size of 134217728 bytes exhausted (tried to allocate 431187952 bytes) in Unknown on line 0
[29-Mar-2012 07:36:40] PHP Fatal error:  Allowed memory size of 134217728 bytes exhausted (tried to allocate 244111344 bytes) in Unknown on line 0
[29-Mar-2012 07:36:54] PHP Fatal error:  Allowed memory size of 134217728 bytes exhausted (tried to allocate 523921392 bytes) in Unknown on line 0
[29-Mar-2012 07:37:07] PHP Fatal error:  Allowed memory size of 134217728 bytes exhausted (tried to allocate 534718448 bytes) in Unknown on line 0

I've spoken to my hosting about this and while they say that the memory limit of 128Mb is a little low for running a full magento store (we intend on upgrading to a more generous package when it's live) these errors suggest something is wrong with Magento rather than the hosting since I'm fairly sure that this is not normal behaviour. I can't change my memory limit from 128Mb on this package.

It continues to happen around the clock even during times when I can be fairly certain nobody is accessing the site at all. This makes me wonder if it's to do with the cron jobs Magento runs.

Does anyone have any tips on how to help track down this issue? Or has anyone run into something similar before?

Upvotes: 2

Views: 2780

Answers (1)

Anton S
Anton S

Reputation: 12750

before installing any kind of software you should overview system requirements:

http://www.magentocommerce.com/system-requirements

and Magento specifically states there

Memory_limit no less than 256Mb (preferably 512)

Upvotes: 4

Related Questions