Jump to content

Server is hanging


beonard6

Recommended Posts

It should launch a terminal window showing server debug messages, when you launch the server?

@echo offclstitle Project Zomboid Server:startecho (%date% %time%) server started.start /MAX /WAIT /affinity A ./jre64/bin/java.exe -Xms2048m -Xmx2048m -Djava.library.path=./ -cp lwjgl.jar;lwjgl_util.jar;sqlitejdbc-v056.jar;./ zombie.network.GameServerecho (%date% %time%) server down.timeout /t 5goto start
Usually it start lagging or spamming about 'not enough heap space', and hangs on after all. It's like multiplying of infinite loops.
Link to comment
Share on other sites

It should launch a terminal window showing server debug messages, when you launch the server?

@echo offclstitle Project Zomboid Server:startecho (%date% %time%) server started.start /MAX /WAIT /affinity A ./jre64/bin/java.exe -Xms2048m -Xmx2048m -Djava.library.path=./ -cp lwjgl.jar;lwjgl_util.jar;sqlitejdbc-v056.jar;./ zombie.network.GameServerecho (%date% %time%) server down.timeout /t 5goto start
Usually it start lagging or spamming about 'not enough heap space', and hangs on after all. It's like multiplying of infinite loops.

That's probably it running out of memory. If you can, bump these up -Xms2048m -Xmx2048m

Making it a bit more graceful when it runs out is on the todo list.

Link to comment
Share on other sites

That's probably it running out of memory. If you can, bump these up -Xms2048m -Xmx2048m

Making it a bit more graceful when it runs out is on the todo list.

I don't have much resources to do so, but thanks anyways!

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...