Maybe it's JRuby's Java stack size, not heap size?