From: Yukihiro Matsumoto Date: 2007-05-23T12:11:52+09:00 Subject: Re: Confusing array garbage collection, how to get valid heap snapshot? Hi, In message "Re: Confusing array garbage collection, how to get valid heap snapshot?" on Wed, 23 May 2007 11:55:05 +0900, Greg Fodor writes: |Ah. Could I get some pointers in the source to look to better |understand this dynamic? (How and why this stack is retained |within ruby after the return of the ruby method?) gc.c especially in the function garbage_collect(). matz.