The server runs out of it's maximum memory (server params aren't applied) #69

Closed
opened 2019-09-01 18:09:25 +00:00 by NorbiPeti · 0 comments
NorbiPeti commented 2019-09-01 18:09:25 +00:00 (Migrated from github.com)

Describe the bug
The server sometimes shuts down properly at improper times due to multiple OutOfMemoryErrors stating that the GC couldn't free enough heap memory. In addition, serious lag has been observed before that point (4,275.21% of normal tick time, so about 2 seconds per tick).

It was also noted that the server's maximum memory is around 1 GB while the parameters explicitly say 5 GB. Some other params aren't applied as well (possibly none).

To Reproduce
Steps to reproduce the behavior:

  1. Play on the server, even generating new chunks and/or be near a village
  2. Wait
  3. Observe the TPS or wait for the server to run out of memory and restart

Expected behavior
The TPS stays at around 20 and the server doesn't have memory issues.

Screenshots
Timings report
Essentials GC command

Additional context
I believe the sole reason is that the server params aren't applied - which is possibly a ServerRunner bug.

Testers: @alisolarflare, thewindmillman, TheShyPig

**Describe the bug** The server sometimes shuts down properly at improper times due to multiple OutOfMemoryErrors stating that the GC couldn't free enough heap memory. In addition, serious lag has been observed before that point (4,275.21% of normal tick time, so about 2 seconds per tick). It was also noted that the server's maximum memory is around 1 GB while the parameters explicitly say 5 GB. Some other params aren't applied as well (possibly none). **To Reproduce** Steps to reproduce the behavior: 1. Play on the server, even generating new chunks and/or be near a village 2. Wait 3. Observe the TPS *or* wait for the server to run out of memory and restart **Expected behavior** The TPS stays at around 20 and the server doesn't have memory issues. **Screenshots** ![Timings report](https://media.discordapp.net/attachments/219626707458457603/617463734532702345/unknown.png) ![Essentials GC command](https://media.discordapp.net/attachments/251775238671564800/617457820077522960/unknown.png) **Additional context** I believe the sole reason is that the server params aren't applied - which is possibly a ServerRunner bug. Testers: @alisolarflare, thewindmillman, TheShyPig
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: ChromaGaming/PluginConfigs#69
No description provided.