Thomas Counsell wrote: > Hello > > With my multithreaded web-rick apps an exception thrown somewhere in > the code sometimes causes the memory used by ruby to spiral out of > control. True for me on Mac OS X with various 1.8.x installs. Hard > for me to repeat though, and when I have cleared all the exception > throwing bugs it goes away. > > Not a lot of use, but perhaps a clue. I discovered it was the > exceptions causing the spiral by running the code with the tracer > enabled (which requires a lot of patience for an app of any size) Correct. Exceptions and the heavy use of ccalloc can result in this memory leak. I got this report also from 2 of my ArachnoRuby users, but somebody must find a small reproduceable script for this.