By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
434,775 Members | 1,432 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 434,775 IT Pros & Developers. It's quick & easy.

Parsing Large XML files using XMLReader

P: 1
Hi all,

I have been trying to parse a 250MB xml file using PHP5's XMLReader.

This is working perfectly for small files but stops mid process (without any error messages) after about 10 seconds when processing test xml files around 16MB.

Has anyone got any suggestions??

Thanks in advance
May 17 '07 #1
Share this Question
Share on Google+
2 Replies


dorinbogdan
Expert 100+
P: 839
Welcome to TheScripta TSDN....

I will move the thread to the PHP forum, they may help better.
May 18 '07 #2

Motoma
Expert 2.5K+
P: 3,235
This could be caused by the max upload size, the max post size, the max size that php is allowed to take up in memory, or the page timeout. Check these setting with phpinfo() to figure out where you are being restricted.


Hi all,

I have been trying to parse a 250MB xml file using PHP5's XMLReader.

This is working perfectly for small files but stops mid process (without any error messages) after about 10 seconds when processing test xml files around 16MB.

Has anyone got any suggestions??

Thanks in advance
May 18 '07 #3

Post your reply

Sign in to post your reply or Sign up for a free account.