Disable non-JRuby while debugging its issues; try setting Java maximum heap size.