Skip to content

Commit

Permalink
Set -Xmx to 100m
Browse files Browse the repository at this point in the history
  • Loading branch information
nylonee committed Dec 19, 2023
1 parent 930d768 commit 90117a7
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,7 @@ Running this using native java requires the fat jar, download the latest from th
java -Dsonarr.apikey=YOUR_API_KEY\
-Dradarr.apikey=YOUR_API_KEY\
-Dplex.token=YOUR_PLEX_TOKEN\
-Xmx100m\
-jar watchlistarr.java
```

Expand Down
4 changes: 3 additions & 1 deletion docker/entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

CMD="/app/bin/watchlistarr"

JAVA_OPTS="-Xmx100m"

if [ -n "$SONARR_API_KEY" ]; then
CMD="$CMD -Dsonarr.apikey=$SONARR_API_KEY"
fi
Expand Down Expand Up @@ -66,4 +68,4 @@ if [ -n "$SKIP_FRIEND_SYNC" ]; then
CMD="$CMD -Dplex.skipfriendsync=$SKIP_FRIEND_SYNC"
fi

exec $CMD
exec $CMD $JAVA_OPTS

0 comments on commit 90117a7

Please sign in to comment.