From 4c4e4dc992d15185e5a7569dbfafa77f321cedec Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Wieland=20Sch=C3=B6bl?= Date: Wed, 28 Oct 2020 16:24:26 +0100 Subject: [PATCH] Update README.md --- README.md | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 30cc982..9de879f 100644 --- a/README.md +++ b/README.md @@ -37,9 +37,11 @@ Add your Discord ID `adminId` (not name), Bot token `token`, and update frequenc optionally you can add your own messages for when the bot is looking and when it can't reach Hytale Servers. If you verified that everything works correctly, you can start the server in the background, on Linux that is -`nohup java -jar [server-file-name]`. To stop it you can either type `!stop` in the Admin Console (Discord PM) or +`nohup java -Xmx1024m -jar [server-file-name]`. To stop it you can either type `!stop` in the Admin Console (Discord PM) or if the bot is unresponsive the the PID of it through `ps -ef` and `kill [pid]` +I'm not 100% certain how much RAM the bot needs, default is typically `-Xmx256m`, and that lead to some issues, `-Xmx512m` is probably plenty, because my server has +tons of unused ram I set it to `-Xmx2048m`, just try and look what works for you. ## Compiling yourself I developed it under Windows, and had some trouble compiling it on Linux. You mileage may vary. @@ -67,4 +69,4 @@ we were over the official Hytale Twitter. ## Other Thanks to [Forcellrus](https://github.com/Forcellrus/Discord-Auto-Publisher) for discovering a way to auto publish messages -in news channels \ No newline at end of file +in news channels