Re: XML to inMemory Hash

2007-08-04 Thread Jenda Krynicky
From: Prabu Ayyappan [EMAIL PROTECTED] Thanks for the valuable inputs, I am planning to solve my memory issue by making the XML into Chunks using Xml::Twig and using simplify( ) in XML::Twig to convert that chunks back into the Hash data structure. Is that advicable method to proceed

Re: XML to inMemory Hash

2007-08-04 Thread Prabu Ayyappan
Yes its saving the memory. But now am into a new problem :( Its taking lot of time to parse a file. Is there any way to create chunks so that it wont parse the entire file. my requirement is to read the chunks based on an attribute. I tried my $twig =

Re: XML to inMemory Hash

2007-08-04 Thread Prabu Ayyappan
Hi, Yes its saving the memory. But now am into a new problem :( Its taking lot of time to parse a file. Is there any way to create chunks so that it wont parse the entire file. my requirement is to read the chunks based on an attribute. I tried my $twig =

Re: XML to inMemory Hash

2007-08-03 Thread Prabu Ayyappan
Hi All, Thanks for the valuable inputs, I am planning to solve my memory issue by making the XML into Chunks using Xml::Twig and using simplify( ) in XML::Twig to convert that chunks back into the Hash data structure. Is that advicable method to proceed to reduce my Memory size.So that

Re: Question about XML::Simple [was: XML to inMemory Hash]

2007-08-02 Thread Jenda Krynicky
From: Rob Dixon [EMAIL PROTECTED] Thomas Polnik wrote: Almost anything is better than XML::Simple, but no module can easily make your data any smaller. I use XML::Simple without any problems since some years. Which problems could I get with with this package? My programm converts

Re: XML to inMemory Hash

2007-08-02 Thread Jenda Krynicky
From: Rob Dixon [EMAIL PROTECTED] Prabu Ayyappan wrote: I want to convert a huge XML file into an inMemory Hash. I tried using XML::Simple. But its taking huge memory space and time to convert it into Hash. While loading a XML file of 300MB its taking more memory space

XML to inMemory Hash

2007-08-01 Thread Prabu Ayyappan
Hi, I want to convert a huge XML file into an inMemory Hash. I tried using XML::Simple. But its taking huge memory space and time to convert it into Hash. While loading a XML file of 300MB its taking more memory space and time. Is there any better method to load this XML

Re: XML to inMemory Hash

2007-08-01 Thread yaron
AM (GMT+0200) Auto-Detected Subject: XML to inMemory Hash Hi, I want to convert a huge XML file into an inMemory Hash. I tried using XML::Simple. But its taking huge memory space and time to convert it into Hash. While loading a XML file of 300MB its taking more memory space

Re: XML to inMemory Hash

2007-08-01 Thread Rob Dixon
Prabu Ayyappan wrote: I want to convert a huge XML file into an inMemory Hash. I tried using XML::Simple. But its taking huge memory space and time to convert it into Hash. While loading a XML file of 300MB its taking more memory space and time. Is there any better method to load

Question about XML::Simple [was: XML to inMemory Hash]

2007-08-01 Thread thomas polnik
Hello Rob, Almost anything is better than XML::Simple, but no module can easily make your data any smaller. I use XML::Simple without any problems since some years. Which problems could I get with with this package? My programm converts many small xml-files (100kb) to a perl structure daily.

Re: Question about XML::Simple [was: XML to inMemory Hash]

2007-08-01 Thread Rob Dixon
Thomas Polnik wrote: Almost anything is better than XML::Simple, but no module can easily make your data any smaller. I use XML::Simple without any problems since some years. Which problems could I get with with this package? My programm converts many small xml-files (100kb) to a perl