Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine

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

by monkey_boy (Priest)
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
Replies are listed 'Best First'.
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?

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

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (10)
As of 2015-10-13 07:18 GMT
Find Nodes?
    Voting Booth?

    Does Humor Belong in Programming?

    Results (296 votes), past polls