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

Server Crash when no one is logged in and Cant set memory above 4gbs #147

Open
Zandermoonshade opened this issue Aug 2, 2023 · 1 comment

Comments

@Zandermoonshade
Copy link

Past 3 days or so, I have been running the server on a windows 10 VM in my environment. I have been playing just fine for hours, but every morning when I wake up, I have to restart the server because it's crashed. When I scroll up in the server log window before closing it to restart the server, I noted that it's behind 100000+ms and then the console ticks like that for I'd say, a good 10 minutes or so, and then finally crashes.

I have attached 2 crash logs to the issue tracker.

I also found that when changing the parameters on the server launch settings to force the server to over 4gb of ram (trying to bump it up to 8gb because of getting a few extra people on the server now). It doesn't move, my utilization on the server for memory doesn't go above 3.5-4gb. I have changed the server start console to force 8G and still nothing. (tried multiple ways as well)

:: When setting the memory below make sure to include the amount of ram letter. M = MB, G = GB. Don't use 1GB for example, it's 1G ::

:: This is 64-bit memory ::
set memsixtyfour=8192M
(Tried setting this to 8G like it should be set to)

:: This is 32-bit memory - maximum 1.2G ish::
set memthirtytwo=8192M
(changed this because I thought it was trying to conflict for some reason)
:: Don't edit past this point ::

(even forced it by modifying the Xmx to the 8gb value.)
java -Xmx8192M -XX:MaxPermSize=256M

Running Java 8 Update 381 (64-bit) - Updated this yesterday to make sure it wasn't just the version of Java I was on.

crash-2023-07-31_04.14.50-server.txt
crash-2023-08-02_03.54.53-server.txt

@Thunderpatty-sudo
Copy link

try -Xms8G -Xmx8g it should force 8gb of dedicated mem

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants