perhaps that's a passable way. I would prefer getting rid
of the references somehow and let GC do the work. But if
we can't manage that...
> 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
it's designed so the child cannot, under any circumstances,
outlive the parent
- so no zombies. the children (slaves) can be killed if
another option is mmap. guy's mmap interface can save on
memory big time if
you're eating it up reading files...
> 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