#B42.13.2 and .1 VANILLA server on ubuntu making system crash.

1 messages · Page 1 of 1 (latest)

snow gust
#

Specs:

OS: Ubuntu 24.04 LTS running in an lxc on proxmox

System RAM: 16GB

Environment: Tested both via Pelican Panel and directly through CLI/Shell (following the official wiki guide).

If I allocate 4 or 5GB of RAM to the server, the entire Ubuntu system eventually crashes/freezes. However, if I increase the limit, the server reaches about 7GB of usage and stays relatively stable.

The last message that I can see before the system crashing is LoadTileDefinitions start.

#

The system doesn't crash if i start a b41 server with the same ram allocations

full scaffold
#

I am not sure I understand your setup, you are running inside a container, right?

#

How much did you allocate to the container and how much did you allocate to the server

#

JDK 25 needs a higher overhead, meaning you cannot just assign all the RAM to the heap

snow gust
#

its running in an lxc container on proxmox, the container has 16gb of allocated ram

full scaffold
#

Okay, and what is the total RAM on the system?

#

The proxmox system

snow gust
#

sorry i was wrong, its 16 on the proxmox node and 12 for the lxc

#

I tried to launch the server with 2 different settings

  • with no ram limit it runs fine and uses about 8G of ram
  • with these 2 arguments -Xms4096m -Xmx6144m the zomboid server crashes because it exceeds the limits
#

how much allocated ram should i use? because previous jdk versions did not use this much ram without mods

full scaffold
#

8gb RAM is what the usage is actually as you measured

#

6144 is how much you allocated for the heap, then JVM allocates extras for everything else