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
This commit is contained in:
ddebree 2014-07-17 20:44:31 +02:00 committed by Dave Syer
parent 16c2477da2
commit 5e02ee6974
1 changed files with 1 additions and 1 deletions

View File

@ -153,7 +153,7 @@ for our starter REST application:
[indent=0] [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 Spring Boot makes `-D` arguments available as properties accessible from a Spring