Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mod upload to client crashes server if not enough ram #351

Open
O1LER opened this issue Jul 16, 2024 · 0 comments
Open

Mod upload to client crashes server if not enough ram #351

O1LER opened this issue Jul 16, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@O1LER
Copy link
Contributor

O1LER commented Jul 16, 2024

Fill out general information
OS (windows, linux, ...): Debian 12 docker container on pterodactyl
BeamMP-Server Version: 3.4.1

Describe the bug
If the host runs out of ram during the upload of a mod, the server crashes

To Reproduce
Steps to reproduce the behavior:

  1. Start a server on a host with limited ram, 128mb for example, while it has a map mod in its resource/client directory, of for example 850mb
  2. Connect to the server and let the game request the zips download
  3. The server will load parts of the zip into ram during the upload, but in this example it will crash due to running out of memory (it tries to use about 400mb of ram)

Expected behavior
The fileupload should not invoke more memory than what is available at the time

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant