I've just attempted to change to Ruby Enterprise Edition, as referred to here: http://www.rubyenterpriseedition.com/download.html (situation: Ubuntu).

REE promises about 30% memory savings, however in my situation, I have 3 ruby instances around 100MB each - much like before (and i believe this really is a significant amount of to have an almost idle server...).

And So I suspect the "old" ruby continues to be used, but I am unsure. What I have transformed within the Apache config file, following the REE installation (following Passenger's instructions) are a handful of pathways:

Formerly:

LoadModule passenger_module /usr/lib/ruby/gems/1.8/gems/passenger-2.2.4/ext/apache2/mod_passenger.so
PassengerRoot /usr/lib/ruby/gems/1.8/gems/passenger-2.2.4
PassengerRuby /usr/bin/ruby1.8

NEW, with REE:

LoadModule passenger_module /usr/local/lib/ruby/gems/1.8/gems/passenger-2.2.14/ext/apache2/mod_passenger.so
PassengerRoot /usr/local/lib/ruby/gems/1.8/gems/passenger-2.2.14
PassengerRuby /usr/local/bin/ruby

Should i do other things (modify another pathways, for instance)? If that's the case, what and just how?

Appreciate your help!
Tom

When individuals make reference to the memory savings of REE in comparison with other interpreters, they are mentioning to figures that have been produced from benchmarks.

These benchmarks come from code that is known as many 1000's of occasions in quick succession to ensure that the amounts reflect performance under load. REE frequently arrives on the top because its garbage collection is much better, among many other things.

This doesn't reflect the quantity of RAM an application consumes when idle. You'll most likely get in most if not completely cases that the idle rails application on REE will consume virtually the equivalent RAM the same application, on a single server, but using MRI (Matz' Ruby Interpreter - the default) would consume since it is not underneath the conditions which will make REE shine.

In response to your question, you are able to discover exactly what the ruby you've now pointed passenger at is, in your server: /usr/local/bin/ruby -v. In the event that does not report REE, then you need set your pathways wrong.