From: Ara.T.Howard@... Date: 2004-09-23T11:14:43+09:00 Subject: Re: DrbUndumped and GC On Thu, 23 Sep 2004, Eric Hodel wrote: > Nope, DRb is not that smart by default. Your Proxy instance is immediately > available for garbage collection. You want to use a different IdConv class > to ensure objects don't get GC'd before they're supposed to, or don't get > GC'd until your clients are done using them. my gut was right. >> i'm about to dig into the code and run some tests to see - but am hoping >> some of you drb experts out there may already have done this ;-) > > http://segment7.net/projects/ruby/drb/idconv.html awesome. i browsed quickly and will have to read completely tomorrow. thanks for putting this together. > Shows how the various id conversion classes work with DRb, letting you > control how and when objects get GC'd. > > A ref-counting IdConv would be a nifty add-on to DRb. that's essentially what i'm going to do (see my post to Masatoshi) - simplified since i know there will only every be 1 reference held. i was just doing some searching and came across some other posts by you on this matter - i'm very glad we have a resident drb expert on the list. thanks alot for the replies and docs. more tomorrow... cheers. -a -- =============================================================================== | EMAIL :: Ara [dot] T [dot] Howard [at] noaa [dot] gov | PHONE :: 303.497.6469 | A flower falls, even though we love it; | and a weed grows, even though we do not love it. | --Dogen ===============================================================================