Permalink
Find file
Fetching contributors…
Cannot retrieve contributors at this time
7 lines (5 sloc) 265 Bytes
# This file is used by Rack-based servers to start the application.
require ::File.expand_path('../config/environment', __FILE__)
run RubyChina::Application
memory_usage = (`ps -o rss= -p #{$$}`.to_i / 1024.00).round(2)
puts "=> Memory usage: #{memory_usage} Mb"