From: Thomas Counsell Date: 2005-02-10T18:58:31+09:00 Subject: Re: Memory leak??? (top reporting high memory usage under Solaris) Not sure, because 1) it hasn't been that repeatable for me and 2) I'm pretty ignorant about threading and 3) even more ignorant about how the garbage collector works* . My experience has been that exceptions created by deliberate 'raise' messages have been ok, and exceptions created by poor coding (e.g. NameError: undefined local variable or method ...) can cause the memory to be consumed even if I've surrounded everything with a begin...rescue. Again, only clues I'm afraid. Next time it happens, I'll spend some time trying to develop a repeatable case so that I can get the lists combined brainpower on it. Tom * One of the reasons I haven't really raised this issue much is because I've always assumed it was my poor coding On 9 Feb 2005, at 18:13, Mark Probert wrote: > So exceptions, even caught ones, will trigger a memory leak? Won't > the GC > kick in and clean them up? Or is it only uncaught exceptions?