Re: [RDBO] RDBO Iterator in Catalyst dev server

2006-12-18 Thread Peter Karman
John Siracusa scribbled on 12/18/06 5:03 PM: > On 12/18/06, Peter Karman <[EMAIL PROTECTED]> wrote: >> I am using the svn trunk version rev1556. > > The fix was in Rose::DB::Object, in case that wasn't clear. So make > sure you're using trunk rev 1556 of Rose::DB::Object. (Rose::DB was > not c

Re: [RDBO] RDBO Iterator in Catalyst dev server

2006-12-18 Thread John Siracusa
On 12/18/06, Peter Karman <[EMAIL PROTECTED]> wrote: > I am using the svn trunk version rev1556. The fix was in Rose::DB::Object, in case that wasn't clear. So make sure you're using trunk rev 1556 of Rose::DB::Object. (Rose::DB was not changed for this fix, but the SVN version of Rose::DB::Obje

Re: [RDBO] RDBO Iterator in Catalyst dev server

2006-12-18 Thread Peter Karman
John Siracusa scribbled on 12/18/06 3:58 PM: > On 12/18/06, Peter Karman <[EMAIL PROTECTED]> wrote: >> I seem to get a memory >> leak where the underlying Rose::DB object is never destroyed. >> >> while(my $o = $i->next) >> { >> ... >> } >> $i->finish; # must call this no matter wha

Re: [RDBO] RDBO Iterator in Catalyst dev server

2006-12-18 Thread John Siracusa
On 12/18/06, Peter Karman <[EMAIL PROTECTED]> wrote: > I seem to get a memory > leak where the underlying Rose::DB object is never destroyed. > > while(my $o = $i->next) > { > ... > } > $i->finish; # must call this no matter what Fixed in SVN, I think. Try it and let me know. -John

[RDBO] RDBO Iterator in Catalyst dev server

2006-12-18 Thread Peter Karman
I'm using RDBO in a Catalyst app, the latest versions of both. I have not tested the following under other Cat engines, but with the dev server, I find that I must call finish() when using get_objects_iterator(), even if I successfully iterate over all objects. Otherwise, I seem to get a memory