Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask

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...

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
Domain Nodelet?
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 pondering the Monastery: (9)
As of 2021-10-27 17:53 GMT
Find Nodes?
    Voting Booth?
    My first memorable Perl project was:

    Results (94 votes). Check out past polls.