From: khaines@... Date: 2007-01-03T13:23:33+09:00 Subject: Re: daemon in ruby uses alot of memory ? On Wed, 3 Jan 2007, wbsurfver@yahoo.com wrote: > I was told by someone that tried to write a daemon process in Ruby to > serve treaming audio files to multiple clients that it uses alot of > memory which made the web server usage too high. Too high meaning the > amount allocatable memory from a web service where you don't own the > web server and pay based on your usage etc. I was told threads in Ruby > are not native threads and that since Ruby doesn't have a virtual > machine that this was also part of it. I am just trying to find out > more, and if what I said makes sense to other people here. Also, would > using Perl be different if this was the case ? There are WAY too many variables in the above information. You can run a Ruby daemon in a few MB of RAM, depending on what it is doing. If the goal is to minimize RAM usage, one is better off using something other Ruby or Perl, though. C might be good. Still, one can pack a lot of functionality in a fairly small (relative to the RAM in a modern system) memory footprint. Kirk Haines