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 =
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 = XML::Twig-
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 p
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 after
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 mo
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 t
Hi,
Did you try to use XML::TrePP. It seems to fit your needs.
http://search.cpan.org/~kawasaki/XML-TreePP-0.22/lib/XML/TreePP.pm
Yaron Kahanovitch
- Original Message -
From: "Prabu Ayyappan" <[EMAIL PROTECTED]>
To: "perl Beginner"
Sent: Wednesday, August 1, 2007 9:51:49 AM (GMT+0200)