Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

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?
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 chanting in the Monastery: (5)
As of 2015-08-30 04:31 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The oldest computer book still on my shelves (or on my digital media) is ...













    Results (346 votes), past polls