From: Michael Conrad Date: 2007-11-09T17:54:16+09:00 Subject: Webrick memory consumption Hi, I'am developing a small web interface (html files, forms, servlets) for my ham radio software using webrick. Later, I want to deploy this web interface on a Linux based router (OpenWrt) with only 32 MB RAM. Now I have observed, that Webrick eats up a lot of memory. Even the following really small example needs more than 14 MB of RAM after serving the first request. === snip === require 'webrick' include WEBrick server = HTTPServer.new( :Port => 3000, :DocumentRoot => Dir::pwd) trap( "INT") { server.shutdown } server.start === snap === It can't be a general ruby problem, my ham radio software runs very well needing about 7 MB RAM by doing a little bit more than serving a single html file. Is there a way to sizing down the memory consumption of webrick ? Or, is there an alternative to webrick ? (I take a very short look to mongrel, but it seems more focused on rails). Kind regards Michael