From: ts Date: 2001-08-23T02:01:07+09:00 Subject: [ruby-talk:20115] Re: GC in extensions >>>>> "P" == Paul Brannan writes: P> If I have: P> (1) VALUE foo1, foo2; P> ... P> (2) foo1 = rb_str_new2("foo1"); P> (3) foo2 = rb_str_new2("foo2"); P> and line (2) uses up all available memory, then will line (3) attempt to P> garbage collect? Is it possible that foo1 might no longer be available? If foo1 and foo2 are on the stack, you'll don't have problems because ruby mark the objects on the stack. Guy Decoux