I have an Ubuntu system with 512MB physical RAM and 512MB swap. Running my four Rails 3.2.12 apps on Passenger 4.0.45 server (Apache module) using single-user (my user) RVM Ruby 2.1.2, it uses about 30% more memory than when I configure Passenger to use the older system (root) Ruby 1.9.3. That is the only difference in the Passenger config.
This causes Passenger to move other applications to swap when one is accessed, which means each time a different application is accessed, it has to be loaded in from swap, resulting in a delay. This means that I almost run out of memory if multiple apps are being used concurrently, and they react slowly to users.
I can't understand why using RVM causes Passenger to use more memory. I doubt it is because of Ruby 2.1.2 unless there are memory parameters I need to tune.