How can I set JRUBY_OPTS In jruby 9.1.9.0

Hi all,

Please let me know how to set JRUBY_OPTS in logstash which is using jruby 9.1.9.0 version.how can I set jruby_opts for controlling jruby heap memory which is default 500 mb, I need to control by setting it low and high.

Thanks

Any idea will be appreciated :relaxed::relaxed::relaxed::relaxed::relaxed::relaxed:

No response, very interested

If you go to the jruby bin folder, you can edit jruby.bat or jruby.sh - there’s a JRUBY_OPTS entry in there.

Thanks for your response :slightly_smiling_face::slightly_smiling_face: