From: Chuck Remes Date: 2010-01-16T06:45:05+09:00 Subject: Re: WIN32OLE memory leaks --Boundary_(ID_4ZtdADD2myltbKkijATGQw) Content-type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-transfer-encoding: 7BIT On Jan 15, 2010, at 12:28 PM, brabuhr@gmail.com wrote: > Jan 13, 2010, Chuck Remes: >> Jan 13, 2010, brabuhr@gmail.com: >>> Jan 13, 2010, Chuck Remes: >>>> Jan 12, 2010, Luis Lavena: >>>>> Jan 12, 2010, Chuck Remes: >>>>>> Even though I am clearing the received array out, my program >>>>>> slowly >>>>>> leaks memory until it hits its limit (around 1.4 GB on Windows) >>>>>> and >>>>>> dies. >>>>> >>>>> Please include exact and complete version of Ruby you're using >>>>> (ruby - >>>>> v) and under which Windows flavor. >>>> >>>> Here's some code. This is running against 1.8.6-p383 (from >>>> rubyinstaller.org) on Windows XP SP3 plus all the latest patches >>>> (Windows >>>> Update runs weekly). >>> >>> Are you able to do a test run with another ruby build, e.g. >>> 1.8.7/1.9.1 >>> from: >>> http://www.ruby-lang.org/en/downloads/ >> >> Running it with 1.9.1-p243 had the same results. > > IronRuby 0.9 appears to have added Win32OLE: > http://blog.jimmy.schementi.com/2009/08/ironruby-09-released.html#win32ole I'll give ironruby a try on Monday when I get back into the office. Thanks for the pointer to it. I had completely forgotten about it. cr --Boundary_(ID_4ZtdADD2myltbKkijATGQw)--