title: What size xml file is too big for PHP's SimpleXML? Does it depend on size in Bytes on how deeply nested the nodes are?
body: <p>I think I pretty much asked it all in the headline. </p>
  
  <p>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.</p>
  
  <p>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)?</p>
  
  <p>Thanks!</p>