export JAVA_OPTS="–XX:+HeapDumpOnOutOfMemoryError" bin/karaf untested in this case, but works for me for -Xdebug, etc.
On 16 Jun 2014, at 21:20, Muhzin wrote: > Hi all, > How can i give a custom jvm argument for the karaf runtime? Eg. > –XX:+HeapDumpOnOutOfMemoryError >
