BeamMP-Server icon indicating copy to clipboard operation
BeamMP-Server copied to clipboard

Mod upload to client crashes server if not enough ram

Open O1LER opened this issue 7 months ago • 0 comments

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

O1LER avatar Jul 16 '24 09:07 O1LER