cloudfoundry/ibm-websphere-liberty-buildpack — pull request #152 by opiethehokie (2014-11-03 19:55:02+00:00)
Title: kill process on OOM error

Kills the process after an OutOfMemoryError, unless the user has requested dumps which they would do by setting the JVM_ARGS or JAVA_OPTS environment variables. Use of the killjava.sh script is needed because the double quotes in the exec portion of the JVM option are processed differently between the command-line (for standalone java apps) and jvm.options.