-
-
Notifications
You must be signed in to change notification settings - Fork 63
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
allow for garbage collection algo preference (#40)
* allow for garbage collection algo preference https://theindiestone.com/forums/index.php?/topic/47417-dedicated-server-on-linux-vps-jre-crashes/ Only way to keep my server stable with 10+ people is to set to G1GC, but there's other java jre gc options Afaik there's only a few java GC's that'd matter. ZGC is usually best, but G1GC can sometimes be more efficient with it's RAM usage. Probably related to something dumb in either my vm configs or otherwise, but seems like an easy change to allow it to be configurable more generally. Maybe just adds tech debt to potential future work to deal with #38 and #23 but idk, this is an easy fix for my specific problems. Signed-off-by: Dylan Shepard <[email protected]> * readme updates * updating docker-compose, fixing src/run-server reference * Update GC Env RegEx pattern; Signed-off-by: Renegade-Master <[email protected]> * Add test for new GC; - .github/workflows/docker-build.yml - Add environment configuration for new GC Config option. - Add Test for new configuration option. - README.md - Formatting pass. - docker-compose.yaml - Formatting pass. * Correct GC Config replacement; * Minor correction; * Correct sed replacement; Signed-off-by: Dylan Shepard <[email protected]> Signed-off-by: Renegade-Master <[email protected]> Co-authored-by: Renegade-Master <[email protected]>
- Loading branch information
1 parent
15a676d
commit bdb86eb
Showing
4 changed files
with
14 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters