It looks like there are a lot of Apache processes running, this blog post has some good tweaks for setting up Apache and MySQL to use less RAM. The default configuration seems to assume you have much more that 256 MB.
Other things that might help could be using Ruby Enterprise Edition, and this section of the passenger guide which talks about resource usage an optimization.