Charles Oliver Nutter
11/7/2007 7:27:00 AM
Roger Pack wrote:
>> It's another well-known fact about running on the JVM that we have to
>> suck it up and accept there's an initial memory chunk eaten up by every
>> JVM process. If one excludes that initial cost, most measurements have
>> us using less memory than C Ruby...so for very large apps we end up
>> coming out ahead. But for small, short apps, the initial slow startup
>> and high memory usage is going to be a battle we fight for a long time.
>>
>> - Charlie
>
> If you run multiple threads I assume there isn't an extra memory cost
> for that--is that right?
Yes, generally. They won't be as light as Ruby's green threads, but then
Ruby's threads can't actually run in parallel anyway.
- Charlie