Re: XML::Twig - Memory usage problem

"howard chen" <[email protected]>
Newsgroups gmane.comp.lang.perl.xml
Message-ID <[email protected]>
Hello,

On Wed, Nov 5, 2008 at 1:07 AM, mirod <[email protected]> wrote:
> I fuond a memory leak when the XML included elements with an id attribute. The
> leak existed bothin 32-bit and 64-bit versions, but was a lot more serious in
> 64-bit perl.
>
> If your XML includes id attributes, you can either use the id => undef option
> when you create the twig, or use the updated version on my site.
>

Are you sure problem only exist with "id attributes" ? I don't have
the "id" attribute in my example XML provided. (In fact, no attributes
used at my XML),

E.g.

<company_xml>
       <company>
               <company_id></company_id>
               <field2></field2>
               <field3></field3>
               <field4></field4>
           ...
       </company>
       <company>
               ..
       </company>
</company_xml>


However, I do have a node called "company_id". Don't know if it is related.


Howard
_______________________________________________
Perl-XML mailing list
[email protected]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.