Em 21-01-2014 08:01, Rodrigo Rosenfeld Rosas escreveu:
> ...
> But in the case where the returned DRb objects will always hold a 
> reference to all required objects created in the server-side, there 
> remains another problem. How do I detect that the objects have been 
> collected in the client-side so that I could free them in the 
> server-side as well? This has always been my main concern with regards 
> to manually keeping a reference by artificial means in the server-side.

Humm, I just found this: 
http://www.ruby-doc.org/core-1.8.7/ObjectSpace.html#M000934

Maybe the application could be notified using 
ObjectSpace#define_finalizer, but I need some spare time to think more 
about this and its performance implication...