1
1
mirror of https://github.com/pterodactyl/panel.git synced 2024-11-22 17:12:30 +01:00
Pterodactyl-Panel/database/Seeders
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
..
eggs feat: use max percentage instead of xmx (#4146) 2022-06-26 21:16:26 -04:00
.gitkeep Update to Laravel 8 2021-01-23 12:12:54 -08:00
DatabaseSeeder.php Update to Laravel 8 2021-01-23 12:12:54 -08:00
EggSeeder.php Update egg import/update logic to all use the same pathwaus 2022-05-15 14:40:19 -04:00
NestSeeder.php Use more standardized phpcs 2021-01-23 12:33:34 -08:00