Project Zomboid

Project Zomboid

Myobi Dec 9, 2021 @ 4:01pm
41MP Server Pause Error
Getting a Server Pause error as soon as I hit the bat file.

I have no clue what I might be doing wrong, here is the error log:


# A fatal error has been detected by the Java Runtime Environment:
#
# Internal Error (./src/hotspot/os/windows/gc/z/zMapper_windows.cpp:240), pid=8104, tid=1872
# fatal error: Failed to map memory: 0x0000040024e00000 2M (1455)
#
# JRE version: (15.0.1+9) (build )
# Java VM: OpenJDK 64-Bit Server VM (15.0.1+9, mixed mode, sharing, tiered, z gc, windows-amd64)
# CreateCoredumpOnCrash turned off, no core file dumped
#
#

--------------- S U M M A R Y ------------

Command Line: -Djava.awt.headless=true -Dzomboid.steam=1 -Dzomboid.znetlog=1 -XX:+UseZGC -XX:-CreateCoredumpOnCrash -XX:-OmitStackTraceInFastThrow -Xms16g -Xmx16g -Djava.library.path=natives/;natives/win64/;. zombie.network.GameServer -nosteam -statistic 10 -debuglog=Multiplayer,Death,Damage,Fall

Host: Intel(R) Core(TM) i5-4460 CPU @ 3.20GHz, 4 cores, 15G, Windows 10 , 64 bit Build 19041 (10.0.19041.1202)
Time: Fri Dec 10 00:58:51 2021 GMT Standard Time elapsed time: 0.554385 seconds (0d 0h 0m 0s)

--------------- T H R E A D ---------------

Current thread (0x000001f299b0d140): JavaThread "Unknown thread" [_thread_in_vm, id=1872, stack(0x0000004770b00000,0x0000004770c00000)]

Stack: [0x0000004770b00000,0x0000004770c00000]
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
V [jvm.dll+0x5f798a]
V [jvm.dll+0x795e69]
V [jvm.dll+0x7975c3]
V [jvm.dll+0x797bc7]
V [jvm.dll+0x1fc1b4]
V [jvm.dll+0x7d210b]
V [jvm.dll+0x7dd910]
V [jvm.dll+0x7dce65]
V [jvm.dll+0x7dcc46]
V [jvm.dll+0x7da2f6]
V [jvm.dll+0x7d9bbd]
V [jvm.dll+0x7d98c3]
V [jvm.dll+0x7cead5]
V [jvm.dll+0x7cbdca]
V [jvm.dll+0x773b0c]
V [jvm.dll+0x3155b4]
V [jvm.dll+0x754ecc]
V [jvm.dll+0x39304f]
V [jvm.dll+0x394cf1]
C [jli.dll+0x5243]
C [ucrtbase.dll+0x21bb2]
C [KERNEL32.DLL+0x17034]
C [ntdll.dll+0x52651]


--------------- P R O C E S S ---------------

Threads class SMR info:
_java_thread_list=0x00007ffd21790ad0, length=0, elements={
}

Java Threads: ( => current thread )

Other Threads:

=>0x000001f299b0d140 (exited) JavaThread "Unknown thread" [_thread_in_vm, id=1872, stack(0x0000004770b00000,0x0000004770c00000)]

Threads with active compile tasks:

VM state: not at safepoint (not fully initialized)

VM Mutex/Monitor currently owned by a thread: None

GC Precious Log:
NUMA Support: Disabled
CPUs: 4 total, 4 available
Memory: 16220M
Large Page Support: Disabled
Workers: 3 parallel, 1 concurrent
Address Space Type: Contiguous/Unrestricted/Complete
Address Space Size: 262144M x 3 = 786432M
Min Capacity: 16384M
Initial Capacity: 16384M
Max Capacity: 16384M
Max Reserve: 38M
Medium Page Size: 32M
Pre-touch: Disabled
Uncommit: Implicitly Disabled (-Xms equals -Xmx)

GC Heap History (0 events):
No events

Deoptimization events (0 events):
No events

Classes unloaded (0 events):
No events

Classes redefined (0 events):
No events

Internal exceptions (0 events):
No events

Events (6 events):
Event: 0.105 Loaded shared library D:\SteamLibrary\steamapps\common\Project Zomboid Dedicated Server\jre64\bin\java.dll
Event: 0.142 Loaded shared library KernelBase
Event: 0.142 Loaded shared library KernelBase
Event: 0.143 Loaded shared library KernelBase
Event: 0.143 Loaded shared library KernelBase
Event: 0.143 Loaded shared library KernelBase


Dynamic libraries:
0x00007ff785d20000 - 0x00007ff785d2d000 D:\SteamLibrary\steamapps\common\Project Zomboid Dedicated Server\jre64\bin\java.exe
0x00007ffd85170000 - 0x00007ffd85365000 C:\WINDOWS\SYSTEM32\ntdll.dll
0x00007ffd83270000 - 0x00007ffd8332e000 C:\WINDOWS\System32\KERNEL32.DLL
0x00007ffd82a80000 - 0x00007ffd82d49000 C:\WINDOWS\System32\KERNELBASE.dll
0x00007ffd82890000 - 0x00007ffd82990000 C:\WINDOWS\System32\ucrtbase.dll
0x00007ffd71a60000 - 0x00007ffd71a78000 D:\SteamLibrary\steamapps\common\Project Zomboid Dedicated Server\jre64\bin\jli.dll
0x00007ffd83510000 - 0x00007ffd836b1000 C:\WINDOWS\System32\USER32.dll
0x00007ffd83130000 - 0x00007ffd83152000 C:\WINDOWS\System32\win32u.dll
0x00007ffd85100000 - 0x00007ffd8512b000 C:\WINDOWS\System32\GDI32.dll
0x00007ffd83020000 - 0x00007ffd8312b000 C:\WINDOWS\System32\gdi32full.dll
0x00007ffd82990000 - 0x00007ffd82a2d000 C:\WINDOWS\System32\msvcp_win.dll
0x00007ffd69c30000 - 0x00007ffd69c45000 D:\SteamLibrary\steamapps\common\Project Zomboid Dedicated Server\jre64\bin\VCRUNTIME140.dll
0x00007ffd6b300000 - 0x00007ffd6b59a000 C:\WINDOWS\WinSxS\amd64_microsoft.windows.common-controls_6595b64144ccf1df_6.0.19041.1110_none_60b5254171f9507e\COMCTL32.dll
0x00007ffd84c60000 - 0x00007ffd84cfe000 C:\WINDOWS\System32\msvcrt.dll
0x00007ffd831c0000 - 0x00007ffd831f0000 C:\WINDOWS\System32\IMM32.DLL
0x00007ffd6ee40000 - 0x00007ffd6ef68000 C:\Program Files (x86)\Citrix\ICA Client\epclient64.dll
0x00007ffd7b080000 - 0x00007ffd7b08a000 C:\WINDOWS\SYSTEM32\VERSION.dll
0x00007ffd83400000 - 0x00007ffd834ac000 C:\WINDOWS\System32\ADVAPI32.dll
0x00007ffd84610000 - 0x00007ffd846ab000 C:\WINDOWS\System32\sechost.dll
0x00007ffd84d70000 - 0x00007ffd84e9a000 C:\WINDOWS\System32\RPCRT4.dll
0x00007ffd81580000 - 0x00007ffd815b3000 C:\WINDOWS\SYSTEM32\ntmarta.dll
0x00007ffd63f90000 - 0x00007ffd6402b000 D:\SteamLibrary\steamapps\common\Project Zomboid Dedicated Server\jre64\bin\msvcp140.dll
0x00007ffd20ca0000 - 0x00007ffd21830000 D:\SteamLibrary\steamapps\common\Project Zomboid Dedicated Server\jre64\bin\server\jvm.dll
0x00007ffd83de0000 - 0x00007ffd83de8000 C:\WINDOWS\System32\PSAPI.DLL
0x00007ffd71a50000 - 0x00007ffd71a59000 C:\WINDOWS\SYSTEM32\WSOCK32.dll
0x00007ffd84d00000 - 0x00007ffd84d6b000 C:\WINDOWS\System32\WS2_32.dll
0x00007ffd78620000 - 0x00007ffd78647000 C:\WINDOWS\SYSTEM32\WINMM.dll
0x00007ffd81160000 - 0x00007ffd81172000 C:\WINDOWS\SYSTEM32\kernel.appcore.dll
0x00007ffd69d00000 - 0x00007ffd69d0a000 D:\SteamLibrary\steamapps\common\Project Zomboid Dedicated Server\jre64\bin\jimage.dll
0x00007ffd7ff60000 - 0x00007ffd80144000 C:\WINDOWS\SYSTEM32\DBGHELP.DLL
0x00007ffd6e830000 - 0x00007ffd6e85c000 C:\WINDOWS\SYSTEM32\dbgcore.DLL
0x00007ffd82f90000 - 0x00007ffd83013000 C:\WINDOWS\System32\bcryptPrimitives.dll
0x00007ffd69640000 - 0x00007ffd69665000 D:\SteamLibrary\steamapps\common\Project Zomboid Dedicated Server\jre64\bin\java.dll

dbghelp: loaded successfully - version: 4.0.5 - missing functions: none
symbol engine: initialized successfully - sym options: 0x614 - pdb path: .;D:\SteamLibrary\steamapps\common\Project Zomboid Dedicated Server\jre64\bin;C:\WINDOWS\SYSTEM32;C:\WINDOWS\WinSxS\amd64_microsoft.windows.common-controls_6595b64144ccf1df_6.0.19041.1110_none_60b5254171f9507e;C:\Program Files (x86)\Citrix\ICA Client;D:\SteamLibrary\steamapps\common\Project Zomboid Dedicated Server\jre64\bin\server

VM Arguments:
jvm_args: -Djava.awt.headless=true -Dzomboid.steam=1 -Dzomboid.znetlog=1 -XX:+UseZGC -XX:-CreateCoredumpOnCrash -XX:-OmitStackTraceInFastThrow -Xms16g -Xmx16g -Djava.library.path=natives/;natives/win64/;.
java_command: zombie.network.GameServer -nosteam -statistic 10 -debuglog=Multiplayer,Death,Damage,Fall
java_class_path (initial): java/istack-commons-runtime.jar;java/jassimp.jar;java/javacord-2.0.17-shaded.jar;java/javax.activation-api.jar;java/jaxb-api.jar;java/jaxb-runtime.jar;java/lwjgl.jar;java/lwjgl-natives-windows.jar;java/lwjgl-glfw.jar;java/lwjgl-glfw-natives-windows.jar;java/lwjgl-jemalloc.jar;java/lwjgl-jemalloc-natives-windows.jar;java/lwjgl-opengl.jar;java/lwjgl-opengl-natives-windows.jar;java/lwjgl_util.jar;java/sqlite-jdbc-3.27.2.1.jar;java/trove-3.0.3.jar;java/uncommons-maths-1.2.3.jar;java/
Launcher Type: SUN_STANDARD

[Global flags]
intx CICompilerCount = 3 {product} {ergonomic}
bool CreateCoredumpOnCrash = false {product} {command line}
size_t InitialHeapSize = 17179869184 {product} {command line}
size_t MaxHeapSize = 17179869184 {product} {command line}
size_t MinHeapDeltaBytes = 2097152 {product} {ergonomic}
size_t MinHeapSize = 17179869184 {product} {command line}
uintx NonNMethodCodeHeapSize = 5832780 {pd product} {ergonomic}
uintx NonProfiledCodeHeapSize = 122912730 {pd product} {ergonomic}
bool OmitStackTraceInFastThrow = false {product} {command line}
uintx ProfiledCodeHeapSize = 122912730 {pd product} {ergonomic}
uintx ReservedCodeCacheSize = 251658240 {pd product} {ergonomic}
bool SegmentedCodeCache = true {product} {ergonomic}
size_t SoftMaxHeapSize = 17179869184 {manageable} {ergonomic}
bool UseCompressedClassPointers = true {lp64_product} {ergonomic}
bool UseCompressedOops = false {lp64_product} {ergonomic}
bool UseLargePagesIndividualAllocation = false {pd product} {ergonomic}
bool UseZGC = true {product} {command line}
bool ZUncommit = false {product} {ergonomic}

Logging:
Log output configuration:
#0: stdout all=warning uptime,level,tags
#1: stderr all=off uptime,level,tags

Environment Variables:
PATH=C:\Program Files (x86)\Common Files\Oracle\Java\javapath;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\WINDOWS\System32\OpenSSH\;C:\Users\Myobi\AppData\Local\Microsoft\WindowsApps;
USERNAME=Myobi
OS=Windows_NT
PROCESSOR_IDENTIFIER=Intel64 Family 6 Model 60 Stepping 3, GenuineIntel



--------------- S Y S T E M ---------------

OS:
Windows 10 , 64 bit Build 19041 (10.0.19041.1202)
OS uptime: 0 days 0:38 hours

CPU: total 4 (initial active 4) (4 cores per cpu, 1 threads per core) family 6 model 60 stepping 3 microcode 0x27, cmov, cx8, fxsr, mmx, sse, sse2, sse3, ssse3, sse4.1, sse4.2, popcnt, vzeroupper, avx, avx2, aes, clmul, erms, lzcnt, tsc, tscinvbit, bmi1, bmi2, fma, clflush

Memory: 4k page, system-wide physical 16220M (11956M free)
TotalPageFile size 17364M (AvailPageFile size 3M)
current process WorkingSet (physical memory assigned to process): 11M, peak: 11M
current process commit charge ("private bytes"): 13M, peak: 13M

vm_info: OpenJDK 64-Bit Server VM (15.0.1+9) for windows-amd64 JRE (15.0.1+9) (Zulu15.28+51-CA), built on Nov 7 2020 08:05:57 by "zulu_re" with MS VC++ 15.9 (VS2017)

END.
< >
Showing 1-3 of 3 comments
Anri Dec 9, 2021 @ 4:06pm 
Make sure you aren't running the bat file as Administrator or with Administrator priviledge.
Myobi Dec 9, 2021 @ 4:21pm 
Originally posted by Alani:
Make sure you aren't running the bat file as Administrator or with Administrator priviledge.

Already tried with it and without it, nothing seems to change.

It keeps saying "failed to map memory", I've got 16Gb of RAM, I have no clue what the problem is, it seems to run just fine on my other computer.
Myobi Dec 9, 2021 @ 4:38pm 
Originally posted by EnigmaGrey:
Change 16g to 8gb in the bat (you can open it in notepad).

It’s setting it to 16 gb by default which is way too much for a computer that also has 16 gb.

Humm, odd... I just solved it by changing the server into my SSD.

No clue what the problem was, but hurray! It works now :P
< >
Showing 1-3 of 3 comments
Per page: 1530 50

Date Posted: Dec 9, 2021 @ 4:01pm
Posts: 3