add JRUBY_OPTS=-J-Xmx1024m

https://github.com/opf/openproject/pull/1391
Merge pull request #1392 from marutosi/feature/restore-jruby-support/jruby-opts

add JRUBY_OPTS=-J-Xmx1024m