4 ms·
Untrue. JRuby can run an app in under 200 MB easily, and close to 100 MB if tuned right.
by headius 15y ago
Untrue. JRuby can run an app in under 200 MB easily, and close to 100 MB if tuned right.
- jshen 15y agoI didn't spend a whole lot of time trying to tune it, but I used a few of the standard options. Trinidad, kirk, etc. I was using a real world app, not a hello world, so there were a number of gems and such outside of vanilla rails. Edit: This ia a real rails app, so it's a bit of a tangent from my post, but I'm looking at it right now. I spun it up with trinidad, dev mode, and requested the home page. It used over 600MB. It's an admittedly heavy homepage, asset wise, but it will run out of heap if I set the max heap any lower than 500MB. Edit 2: let me try it with MRI Edit 3: MRI took about 225MB, about half the memory. In this case JRuby is clearly better because we run it in threadsafe mode.