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

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

by monkey_boy (Priest)
on Jan 12, 2006 at 17:05 UTC ( [id://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?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (6)
As of 2024-04-23 13:57 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found