You are here:  » Allowed Memory in database.php

Support Forum



Allowed Memory in database.php

Submitted by marco.saiu on Fri, 2011-08-05 14:33 in

Hello David,

thank's for other tips and fix ;)

today i have allowed memory exausted error if i register a new feed or try to import feed via shell...

importing feed.xml...[0/10]PHP Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 32 bytes) in ../includes/database.php on line 27

Any idea to solve this?

I have set memory_limit very hight but not solve this problem!

Thank's

Submitted by support on Fri, 2011-08-05 14:45

Hi Marco,

That's more likely to indicate a corrupt feed; for example where a record does not terminate due to a formatting error, so the parser ends up trying to read the entire file into memory. My normal process for handling corrupt feeds is to wait 24 hours assuming that it may be a transient error at the feed source; and then re-fetching and trying again. Often that's all it takes; but if the problem persists, let me know your installation URL and filename of the feed that you are trying to add and I'll download it from your /feeds/ folder to my test server and check it out for you...

Cheers,
David.
--
PriceTapestry.com

Submitted by marco.saiu on Fri, 2011-08-05 14:50

Thank's

this is my feed to tradedoubler...

{link saved}

Submitted by support on Fri, 2011-08-05 15:18

Hi Marco,

The feed (downloaded from your server) worked fine on my test server, importing 20256 products; can you confirm if you are getting the memory limit error for any feed that you attempt to import from the command line now, or just that particular one?

Cheers,
David.
--
PriceTapestry.com