I think I pretty much asked it all in the headline.
The issue I'm having is that I'm trying to parse an XML file with SimpleXML that SOMETIMES fails to read the xml but sometimes is successful. I can only think it's down to the script running out of memory.
I have 200mb XML product feed, but it's only nested to around 4 layers maximum. Is it okay to use SimpleXML for this? Is it just a case of increasing my memory limit in php.ini (I can't do it to test it yet as my server imposes maximums)?
Thanks!