From: Jano Svitok Date: 2008-04-01T07:28:36+09:00 Subject: Re: Ruby iterating over Exchange Mailboxes On Mon, Mar 31, 2008 at 11:33 PM, Jeff Miller wrote: > Hello everybody, > I just got this recommendation from a friend: > > "Exchange has a limit of 250 open RPC channels, so you need to release > objects as you use them or you'll run out of channels. You'll probably > have to dig a little to find out whether Ruby releases objects > immediately or, like .NET, in its own sweet time and whether it can be > forced to release immediately." > > Thus, does anybody know how I can force release of an object? try WIN32OLE#ole_free: http://ruby-doc.org/stdlib/libdoc/win32ole/rdoc/classes/WIN32OLE.html#M009643 most probably: some_object.ole_free some_object = nil warning: I have not tried this. Jano