Skip to content
This repository has been archived by the owner on May 11, 2022. It is now read-only.

Commit

Permalink
Replace obsoleted -mem parameter with -J-Xmx512m
Browse files Browse the repository at this point in the history
Apparently `sbt-native-packager` removed the `-mem` parameter with
sbt/sbt-native-packager@62362c2377 - so if you
look in a subscriptions-box, you see this in `/subscriptions/stdout.log`:

```
!! WARNING !! -mem option is ignored. Please use -J-Xmx and -J-Xms
```

sbt/sbt-native-packager#82 (comment)
  • Loading branch information
rtyley committed Jun 18, 2015
1 parent 6da3c3a commit 6013399
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion conf/upstart.conf
Original file line number Diff line number Diff line change
Expand Up @@ -23,5 +23,5 @@ limit nofile 65536 65536
respawn

script
"/subscriptions/subscriptions-frontend-1.0-SNAPSHOT/bin/subscriptions-frontend" -mem 512 -Dconfig.resource=__STAGE.conf > $LOGFILE 2>&1
"/subscriptions/subscriptions-frontend-1.0-SNAPSHOT/bin/subscriptions-frontend" -J-Xmx512m -Dconfig.resource=__STAGE.conf > $LOGFILE 2>&1
end script

0 comments on commit 6013399

Please sign in to comment.