Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Re: XML::Simple is there a maximum xml file size?

by monkey_boy (Curate)
on Jan 12, 2006 at 17:05 UTC ( #522752=note: print w/ replies, xml ) Need Help??


in reply to XML::Simple is there a maximum xml file size?

The maximum file size depends on your RAM size, XML::Simple creates a complex data structure, which in perl terms, will be much larger than the xml files size.
The other thing to note is that XML::Simple can be very slow on complex/large xml documents, so it may be that your browser is timing out, before the parsing is finished,

Id try running the script on the command-line to see if you get an "out of memory error" (from the OS), or to time how long the parsing takes.



This is not a Signature...


Comment on Re: XML::Simple is there a maximum xml file size?
Download Code
Re^2: XML::Simple is there a maximum xml file size?
by pileofrogs (Priest) on Jan 12, 2006 at 18:45 UTC

    I'd like to second what monkey boy says in his second paragraph.

    Write a three line script that does nothing but open that file with XML::Simple, then you know it's not something else causing trouble. Make it work in the simplest possible environment, then put the solution into your working CGI.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://522752]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (16)
As of 2014-12-18 17:06 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (58 votes), past polls