<?xml version="1.0" encoding="windows-1252"?>
<node id="957018" title="Re: Perl out of memory" created="2012-02-29 15:14:39" updated="2012-02-29 15:14:39">
<type id="11">
note</type>
<author id="658643">
nikosv</author>
<data>
<field name="doctext">
In cases like that it is best to use an iterator so you get one item back at a time and not fill memory at once with all the items.In other languages (like in C#) this happens by using 'yield' typically with a foreach loop,while in Perl the concept is explained in MJ Dominus's &lt;a href="http://hop.perl.plover.com/#toc"&gt;HOP book&lt;/a&gt;
</field>
<field name="root_node">
956984</field>
<field name="parent_node">
956984</field>
</data>
</node>
