From: Simon Strandgaard <0bz63fz3m1qt3001@...> Date: 2003-05-18T21:29:39+09:00 Subject: Re: ruby garbage collection On Sun, 18 May 2003 22:10:18 +0900, Gaffer wrote: > it seems to work, where calling GC.start from ruby still has the slowdown > for about 10secs, as if some background processing is going on are you marking ruby instances yourself ? can you estimate roughly how many ruby-instances you have ? A: 0 < n < 500 B: 500 < n < 5000 C: 5000 < n < 50000 D: 50000 < n < infinite perhaps you are having a thread which is consuming all time ? maybe pause all threads during GC can help (untested). rb_thread_stop_timer(); rb_gc_start(); rb_thread_start_timer(); -- Simon Strandgaard