I wanted to pass
-XX:OnOutOfMemoryError=kill -9 %p
option to the JVM arguments of logstash. I added the same in jvm.options file, But once i add it i get:
Error: Could not create the Java Virtual Machine. Error: A fatal exception has occurred. Program will exit.
Please suggest if above option is needed in logstash and what is the format to add it. Should it be escaped or something?