From: "Ara.T.Howard" Date: 2005-08-11T00:39:22+09:00 Subject: Re: force_recycle On Thu, 11 Aug 2005, Kroeger Simon (ext) wrote: > I would have been realy happy if I got the exception (and > the traceback). > > So I have to think about another way... fork - and do work in multiple processes. all memory is freed when the process exits. ipc is trivial in ruby using local drb objects. i use this alot for that http://raa.ruby-lang.org/project/slave/ it's designed so the child cannot, under any circumstances, outlive the parent - so no zombies. the children (slaves) can be killed if needed though. another option is mmap. guy's mmap interface can save on memory big time if you're eating it up reading files... cheers. -a -- =============================================================================== | email :: ara [dot] t [dot] howard [at] noaa [dot] gov | phone :: 303.497.6469 | Your life dwells amoung the causes of death | Like a lamp standing in a strong breeze. --Nagarjuna ===============================================================================