NFINIT-Labs / AstroBlock

0 stars 3 forks source link

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

Open Zandermoonshade opened 11 months ago

Zandermoonshade commented 11 months ago

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