Could you tie it to a file? I seem to remember someone mentioning this 
approach either on the mod_perl or this list. I'm not sure if there are 
modules to implement this approach, but I wouldn't be surprised if someone 
written one. CPAN is always your friend. :-)

Drew

At 09:31 PM 9/29/2002 -0400, Ranga Nathan wrote:
>Are there any special techniques for handling large hashes. When
>building an XML tree as a Perl data structure, at times more and more
>memory is being consumed eventually runs out of memory. Other than
>partitioning the problem is there any known technique?
>
>The problem occurs when we use Any2XML.pm that uses Ximple.pm which
>builds XML tree as an array of hashes recursively. While this works well
>for most documents, when parsing flat files containing thousands of
>records, this breaks down.

--
Drew Taylor <[EMAIL PROTECTED]> | 17 Thacher St, Apt 1
http://www.drewtaylor.com/        | Boston, MA 02113
[EMAIL PROTECTED]               | Ph (617) 523-5332
----------------------------------------------------------------------

_______________________________________________
Boston-pm mailing list
[EMAIL PROTECTED]
http://mail.pm.org/mailman/listinfo/boston-pm

Reply via email to