From: "Wolfgang Nádasi-Donner" Date: 2007-11-16T07:38:06+09:00 Subject: Re: Thoughts about Array#compact!, Array#flatten!, Array#reject!, String#strip!, String#capitalize!, String#gsub!, etc. Nikolai Weibull schrieb: > Your problem isn't the return value of downcase!. Your problem is a > String, 20MB in size. It's a typical situation in using map/filter/reduce paradigm from functional programming. A long method call chain on single threaded data produces a lot of garbage, unless the data space will be reused in the chain. 20MB Strings might not be often appear, but 2MB to 5MB I had sometimes do handle during an irb session. Wolfgang N��dasi-Donner