Hi,

it depends how you start Karaf.

Basically, you have 3 ways:

1/ using bin/karaf, you can directly modify the karaf script, or use the setenv script (and provide the JAVA_OPTS variable)
2/ using bin/start, it's basically the same as 1/
3/ using service wrapper, you have to modifiy the etc/karaf-wrapper.conf file.

Regards
JB

On 06/16/2014 03:20 PM, Muhzin wrote:
Hi all,
How can i give a custom jvm argument for the karaf runtime? Eg.
–XX:+HeapDumpOnOutOfMemoryError


--
Jean-Baptiste Onofré
[email protected]
http://blog.nanthrax.net
Talend - http://www.talend.com

Reply via email to