From: "jared.r.richardson@..." Date: 2006-07-25T01:00:06+09:00 Subject: Re: GC in C extension.... Kroeger, Simon (ext) wrote: > > From: jared.r.richardson@gmail.com > > > Gotcha... thank you Simon. It seems to be working perfectly. :) Here's what I'm now doing on each pass through the code. if(!keep_me) { keep_me=rb_ary_new(); rb_global_variable(& keep_me); } // throw out the old data rb_ary_clear(keep_me); // store the new rb_ary_push(keep_me, resultset); rb_ary_push(keep_me, table_list); etc... Jared http://jaredrichardson.net