From: Ryan Davis Date: 2010-09-25T08:54:24+09:00 Subject: Re: how do i force ruby to release memory On Sep 24, 2010, at 01:58 , Amit Tomar wrote: > def downlaod > @stream = Stream.find(params[:id]) right there... you're creating an instance variable that is holding onto your Stream object. If that doesn't let go of the 1.1g it downloaded, then you'll hold onto it forever.