1
1
mirror of https://github.com/pterodactyl/panel.git synced 2024-11-25 02:22:36 +01:00
Pterodactyl-Panel/database
Alex 3339a316ca
feat: use max percentage instead of xmx (#4146)
Replaces Xmx with a percentage-based argument, in this case leaving 5% overhead.

Resolves issue of container OOM/freezing when all memory is allocated to the java application or when users attempt to use unlimited memory of 0. That's because all the allocated memory is set to Xmx by default. Causes Wings resource overhead allocation to be unnecessary.

Expands Forge installer exit code to provide instructions regarding increasing Wings installer resource limits when using unlimited memory (0) as the default 1024MB is not enough to run the installer.

The percentage is set as a floating point, because of a JDK 8 bug with integers
2022-06-26 21:16:26 -04:00
..
Factories Update NodeFactory.php 2022-06-26 21:00:19 -04:00
migrations Add support for tracking when an activity event is triggered from an API key 2022-06-18 12:07:44 -04:00
Seeders feat: use max percentage instead of xmx (#4146) 2022-06-26 21:16:26 -04:00
.gitignore Initial Commit of Files 2015-12-06 13:58:49 -05:00