]> git.openstreetmap.org Git - rails.git/blob - config/initializers/limits.rb
Runaway HTML in f28f28f24a61ce4a8956c220f04df5980d4dbd65 made all the interface BOLD
[rails.git] / config / initializers / limits.rb
1 # Set a hard limit of 1Gb on the virtual size of the process
2 if Process.const_defined?(:RLIMIT_AS)
3   Process.setrlimit Process::RLIMIT_AS, 1024*1024*1024, Process::RLIM_INFINITY
4 end