From 5e02ee6974c76451fc359fbe86e61312579166cb Mon Sep 17 00:00:00 2001 From: ddebree Date: Thu, 17 Jul 2014 20:44:31 +0200 Subject: [PATCH] Add java options for Heroku Procfile Added $JAVA_OPTS variable to the sample Heroku Procfile. If this is left out it can cause memory issues when the app starts. Fixes gh-1266 --- spring-boot-docs/src/main/asciidoc/cloud-deployment.adoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spring-boot-docs/src/main/asciidoc/cloud-deployment.adoc b/spring-boot-docs/src/main/asciidoc/cloud-deployment.adoc index 2aa5c436df..4d76c266b4 100644 --- a/spring-boot-docs/src/main/asciidoc/cloud-deployment.adoc +++ b/spring-boot-docs/src/main/asciidoc/cloud-deployment.adoc @@ -153,7 +153,7 @@ for our starter REST application: [indent=0] ---- - web: java -Dserver.port=$PORT -jar target/demo-0.0.1-SNAPSHOT.jar + web: java -Dserver.port=$PORT $JAVA_OPTS -jar target/demo-0.0.1-SNAPSHOT.jar ---- Spring Boot makes `-D` arguments available as properties accessible from a Spring