504 Gateway Time-out nginx
I checked the logs:
vmc log
...and it appeared to be a permgen issue:
Caused by: java.lang.OutOfMemoryError: PermGen space
To solve it, type this in:
vmc env-add tweetcommendation "JAVA_OPTS=-XX:MaxPermSize=512m"
To check that you have correctly set the value:
me@tommy:~/repo/tweetcommendation/target$ vmc env tweetcommendation
+-----------+----------------------+
| Variable | Value |
+-----------+----------------------+
| JAVA_OPTS | -XX:MaxPermSize=512m |
+-----------+----------------------+
No comments:
Post a Comment