473,408 Members | 1,743 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,408 software developers and data experts.

Parsing Large XML files using XMLReader

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
2 3540
dorinbogdan
839 Expert 512MB
Welcome to TheScripta TSDN....

I will move the thread to the PHP forum, they may help better.
May 18 '07 #2
Motoma
3,237 Expert 2GB
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

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

Similar topics

1
by: Girish | last post by:
Hello.. I need to understand how parsing of a file or a stream(XML data in memory) takes place in Xerces C++. I am using SAX XMLReader and passing xml input as a file path or a MemBufInputSource...
6
by: Thomas Polan | last post by:
Sorry if this has been posted before... I am receiving XML messages over a TCP client. Messages vary in size and sometimes can arrive in groups. Thus, I am not guaranteed to receive a full...
4
by: Roshawn Dawson | last post by:
Hi, I'd like to know what's typically considered a large xml file? Are we talking about a file that's measured in kilobytes or megabytes and beyond? Where do we begin to consider an xml file...
1
by: Don Tucker | last post by:
Hello, I am developing in Visual Studio .NET 2005. I am attempting to parse an XML string by using the example given in the help files: ...
6
by: Lenny Wintfeld | last post by:
Hi I'm attempting additions/changes to a Java program that (among other things) uses XSLT to transform a large (96 Mb) XML file. It runs fine on small XML files but generates OutOfMemory...
3
by: toton | last post by:
Hi, I have some ascii files, which are having some formatted text. I want to read some section only from the total file. For that what I am doing is indexing the sections (denoted by .START in...
2
by: nexus024 | last post by:
I am writing a program for one of my C++ classes at school and have gotten an error that I can't debug. What I am trying to do is write a C++ program that parses an XML file and displays to console...
5
by: Brian Cryer | last post by:
Currently I am using XmlReader (but I am open to other options) to parse an XML file, and I would like to be able to stop/break the current parse (simple enough) and then resume it later (say after...
3
by: raghudr | last post by:
Hi all, I am parsing a .xml file.My main intention is to retrieve the name value of node "Signal":- "Name Value" which is "rag". i want to store only the <signal"name value" that is only...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.