Project Zomboid

Project Zomboid

This topic has been locked
Error occurred during initialization of VM
Когда нажимаю играть, пишет, что игра запущена, а затем снова появляется значок играть.
После каждого запуска в корневой папке с игрой появляется текстовый документ.
В командной строке выдаёт такую ошибку "Error occurred during initialization of VM. ZGC requires Windows version 1803 or later"

When I click play, it says that the game is running, and then the play icon appears again.
After each launch, a text document appears in the root folder with the game.
In the command line it gives the following error "Error occurred during initialization of VM. ZGC requires Windows version 1803 or later"



#
# There is insufficient memory for the Java Runtime Environment to continue.
# Native memory allocation (mmap) failed to map 1887436800 bytes for G1 virtual space
# Possible reasons:
# The system is out of physical RAM or swap space
# The process is running with CompressedOops enabled, and the Java Heap may be blocking the growth of the native heap
# Possible solutions:
# Reduce memory load on the system
# Increase physical memory or swap space
# Check if swap backing store is full
# Decrease Java heap size (-Xmx/-Xms)
# Decrease number of Java threads
# Decrease Java thread stack sizes (-Xss)
# Set larger code cache with -XX:ReservedCodeCacheSize=
# JVM is running with Unscaled Compressed Oops mode in which the Java heap is
# placed in the first 4GB address space. The Java Heap base address is the
# maximum limit for the native heap growth. Please use -XX:HeapBaseMinAddress
# to set the Java Heap base and to place the Java Heap above 4GB virtual address.
# This output file may be truncated or incomplete.
#
# Out of Memory Error (./src/hotspot/os/windows/os_windows.cpp:3472), pid=5716, tid=6404
#
# JRE version: (15.0.1+9) (build )
# Java VM: OpenJDK 64-Bit Server VM (15.0.1+9, mixed mode, sharing, tiered, compressed oops, g1 gc, windows-amd64)
# CreateCoredumpOnCrash turned off, no core file dumped
#

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

Command Line: -Djava.awt.headless=true -Xms1800m -Xmx2048m -Dzomboid.steam=1 -Dzomboid.znetlog=1 -Djava.library.path=win64/;. -XX:-CreateCoredumpOnCrash -XX:-OmitStackTraceInFastThrow -XX:+UseG1GC

Host: AMD Phenom(tm) 9550 Quad-Core Processor, 4 cores, 1G, Windows 7 , 64 bit Build 7601 (6.1.7601.19160)
Time: Sat Jan 1 14:16:47 2022 ?iiaineia a?aiy (ceia) elapsed time: 0.024552 seconds (0d 0h 0m 0s)

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

Current thread (0x00000000004c3280): JavaThread "Unknown thread" [_thread_in_vm, id=6404, stack(0x0000000000200000,0x0000000000300000)]

Stack: [0x0000000000200000,0x0000000000300000]
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+0x797c13]
V [jvm.dll+0x1fc438]
V [jvm.dll+0x5f4cda]
V [jvm.dll+0x5e9875]
V [jvm.dll+0x2b5bbd]
V [jvm.dll+0x2b5a22]
V [jvm.dll+0x2bb88c]
V [jvm.dll+0x307698]
V [jvm.dll+0x306d54]
V [jvm.dll+0x28ccea]
V [jvm.dll+0x28de50]
V [jvm.dll+0x773b41]
V [jvm.dll+0x3155b4]
V [jvm.dll+0x754ecc]
V [jvm.dll+0x39304f]
V [jvm.dll+0x394cf1]
C [ProjectZomboid64.exe+0x924d]
C [ProjectZomboid64.exe+0xb60e]
C [ProjectZomboid64.exe+0xd69e]
C [kernel32.dll+0x159ed]
C [ntdll.dll+0x2b371]


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

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

Java Threads: ( => current thread )

Other Threads:
0x0000000000502970 GCTaskThread "GC Thread#0" [stack: 0x000000001c050000,0x000000001c150000] [id=4196]
0x0000000000517b30 ConcurrentGCThread "G1 Main Marker" [stack: 0x000000001bf00000,0x000000001c000000] [id=6644]
0x0000000000518860 ConcurrentGCThread "G1 Conc#0" [stack: 0x000000001c2c0000,0x000000001c3c0000] [id=2444]

[error occurred during error reporting (printing all threads), id 0xc0000005, EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x000007feb297ddd7]

VM state: not at safepoint (not fully initialized)

VM Mutex/Monitor currently owned by a thread: ([mutex/lock_event])
[0x00000000004bea50] Heap_lock - owner thread: 0x00000000004c3280

Heap address: 0x0000000080000000, size: 2048 MB, Compressed Oops mode: 32-bit
CDS archive(s) mapped at: [0x0000000000000000-0x0000000000000000-0x0000000000000000), size 0, SharedBaseAddress: 0x0000000800000000, ArchiveRelocationMode: 0.
Narrow klass base: 0x0000000000000000, Narrow klass shift: 0, Narrow klass range: 0x0

Heap:
garbage-first heap total 1843200K, used 0K [0x0000000080000000, 0x0000000100000000)
region size 1024K, 0 young (0K), 0 survivors (0K)
Metaspace used 0K, capacity 0K, committed 0K, reserved 0K
class space used 0K, capacity 0K, committed 0K, reserved 0K

Heap Regions: E=young(eden), S=young(survivor), O=old, HS=humongous(starts), HC=humongous(continues), CS=collection set, F=free, OA=open archive, CA=closed archive, TAMS=top-at-mark-start (previous, next)

Card table byte_map: [0x0000000017700000,0x0000000017b00000] _byte_map_base: 0x0000000017300000

Marking Bits (Prev, Next): (CMBitMap*) 0x00000000005040f0, (CMBitMap*) 0x0000000000504130
Prev Bits: [0x0000000017f00000, 0x0000000019f00000)
Next Bits: [0x0000000019f00000, 0x000000001bf00000)

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 (1 events):
Event: 0.009 Loaded shared library C:\Program Files (x86)\Steam\steamapps\common\ProjectZomboid\jre64\bin\java.dll


Dynamic libraries:
0x000000013fcc0000 - 0x000000013fd2a000 C:\Program Files (x86)\Steam\steamapps\common\ProjectZomboid\ProjectZomboid64.exe
0x00000000777e0000 - 0x000000007798a000 C:\Windows\SYSTEM32\ntdll.dll
0x000007fed0940000 - 0x000007fed0956000 C:\Program Files\AVAST Software\Avast\aswhook.dll
0x00000000776c0000 - 0x00000000777df000 C:\Windows\system32\kernel32.dll
0x000007fefd620000 - 0x000007fefd68b000 C:\Windows\system32\KERNELBASE.dll
0x000007fef2110000 - 0x000007fef2154000 C:\Program Files (x86)\Steam\steamapps\common\ProjectZomboid\steam_api64.dll
0x000007feff7c0000 - 0x000007feff89b000 C:\Windows\system32\ADVAPI32.dll
0x000007feff720000 - 0x000007feff7bf000 C:\Windows\system32\msvcrt.dll
0x000007feffad0000 - 0x000007feffaef000 C:\Windows\SYSTEM32\sechost.dll
0x000007feff3c0000 - 0x000007feff4ed000 C:\Windows\system32\RPCRT4.dll
0x000007fefd980000 - 0x000007fefe709000 C:\Windows\system32\SHELL32.dll
0x000007fefeec0000 - 0x000007fefef31000 C:\Windows\system32\SHLWAPI.dll
0x000007feffa60000 - 0x000007feffac7000 C:\Windows\system32\GDI32.dll
0x00000000775c0000 - 0x00000000776ba000 C:\Windows\system32\USER32.dll
0x000007feff940000 - 0x000007feff94e000 C:\Windows\system32\LPK.dll
0x000007fefeb60000 - 0x000007fefec2a000 C:\Windows\system32\USP10.dll
0x000007fefe800000 - 0x000007fefe82e000 C:\Windows\system32\IMM32.DLL
0x000007feff950000 - 0x000007feffa59000 C:\Windows\system32\MSCTF.dll
0x000007fefb300000 - 0x000007fefb303000 C:\Windows\system32\api-ms-win-core-synch-l1-2-0.DLL
0x000007feb26e0000 - 0x000007feb3270000 C:\Program Files (x86)\Steam\steamapps\common\ProjectZomboid\jre64\bin\server\jvm.dll
0x000007fefa7d0000 - 0x000007fefa7d9000 C:\Windows\system32\WSOCK32.dll
0x000007feff6d0000 - 0x000007feff71d000 C:\Windows\system32\WS2_32.dll
0x000007fefe710000 - 0x000007fefe718000 C:\Windows\system32\NSI.dll
0x000007fef4f20000 - 0x000007fef4f5b000 C:\Windows\system32\WINMM.dll
0x000007fefc650000 - 0x000007fefc65c000 C:\Windows\system32\VERSION.dll
0x00000000779b0000 - 0x00000000779b7000 C:\Windows\system32\PSAPI.DLL
0x000007fef30b0000 - 0x000007fef30c7000 C:\Windows\system32\VCRUNTIME140.dll
0x000007fef3b50000 - 0x000007fef3b54000 C:\Windows\system32\api-ms-win-crt-runtime-l1-1-0.dll
0x000007feeee90000 - 0x000007feeef84000 C:\Windows\system32\ucrtbase.DLL
0x000007fef3d50000 - 0x000007fef3d53000 C:\Windows\system32\api-ms-win-core-timezone-l1-1-0.dll
0x000007fef3a10000 - 0x000007fef3a13000 C:\Windows\system32\api-ms-win-core-file-l2-1-0.dll
0x000007fef3ae0000 - 0x000007fef3ae3000 C:\Windows\system32\api-ms-win-core-localization-l1-2-0.dll
0x000007fef3250000 - 0x000007fef3253000 C:\Windows\system32\api-ms-win-core-processthreads-l1-1-1.dll
0x000007fef3240000 - 0x000007fef3243000 C:\Windows\system32\api-ms-win-core-file-l1-2-0.dll
0x000007fef30a0000 - 0x000007fef30a3000 C:\Windows\system32\api-ms-win-crt-heap-l1-1-0.dll
0x000007fef3090000 - 0x000007fef3094000 C:\Windows\system32\api-ms-win-crt-string-l1-1-0.dll
0x000007fef3080000 - 0x000007fef3084000 C:\Windows\system32\api-ms-win-crt-stdio-l1-1-0.dll
0x000007fef3070000 - 0x000007fef3074000 C:\Windows\system32\api-ms-win-crt-convert-l1-1-0.dll
0x000007fef20f0000 - 0x000007fef20f3000 C:\Windows\system32\api-ms-win-crt-environment-l1-1-0.dll
0x000007fef2100000 - 0x000007fef2103000 C:\Windows\system32\api-ms-win-crt-utility-l1-1-0.dll
0x000007fef20d0000 - 0x000007fef20d5000 C:\Windows\system32\api-ms-win-crt-math-l1-1-0.dll
0x000007fef20e0000 - 0x000007fef20e3000 C:\Windows\system32\api-ms-win-crt-filesystem-l1-1-0.dll
0x000007fef1f10000 - 0x000007fef1f13000 C:\Windows\system32\api-ms-win-crt-time-l1-1-0.dll
0x000007fef1f20000 - 0x000007fef1f2a000 C:\Program Files (x86)\Steam\steamapps\common\ProjectZomboid\jre64\bin\jimage.dll
0x000007fefb060000 - 0x000007fefb185000 C:\Windows\system32\DBGHELP.DLL
0x000007fef1eb0000 - 0x000007fef1ed5000 C:\Program Files (x86)\Steam\steamapps\common\ProjectZomboid\jre64\bin\java.dll

dbghelp: loaded successfully - version: 4.0.5 - missing functions: none
symbol engine: initialized successfully - sym options: 0x614 - pdb path: .;C:\Program Files (x86)\Steam\steamapps\common\ProjectZomboid;C:\Windows\SYSTEM32;C:\Program Files\AVAST Software\Avast;C:\Program Files (x86)\Steam\steamapps\common\ProjectZomboid\jre64\bin\server;C:\Program Files (x86)\Steam\steamapps\common\ProjectZomboid\jre64\bin

VM Arguments:
jvm_args: -Djava.awt.headless=true -Xms1800m -Xmx2048m -Dzomboid.steam=1 -Dzomboid.znetlog=1 -Djava.library.path=win64/;. -XX:-CreateCoredumpOnCrash -XX:-OmitStackTraceInFastThrow -XX:+UseG1GC
java_command: <unknown>
java_class_path (initial): .;istack-commons-runtime.jar;jassimp.jar;javacord-2.0.17-shaded.jar;javax.activation-api.jar;jaxb-api.jar;jaxb-runtime.jar;lwjgl.jar;lwjgl-natives-windows.jar;lwjgl-glfw.jar;lwjgl-glfw-natives-windows.jar;lwjgl-jemalloc.jar;lwjgl-jemalloc-natives-windows.jar;lwjgl-opengl.jar;lwjgl-opengl-natives-windows.jar;lwjgl_util.jar;sqlite-jdbc-3.27.2.1.jar;trove-3.0.3.jar;uncommons-maths-1.2.3.jar
Launcher Type: generic

[Global flags]
intx CICompilerCount = 3 {product} {ergonomic}
uint ConcGCThreads = 1 {product} {ergonomic}
bool CreateCoredumpOnCrash = false {product} {command line}
uint G1ConcRefinementThreads = 4 {product} {ergonomic}
size_t G1HeapRegionSize = 1048576 {product} {ergonomic}
uintx GCDrainStackTargetSize = 64 {product} {ergonomic}
size_t InitialHeapSize = 1887436800 {product} {command line}
size_t MarkStackSize = 4194304 {product} {ergonomic}
size_t MaxHeapSize = 2147483648 {product} {command line}
size_t MinHeapDeltaBytes = 1048576 {product} {ergonomic}
size_t MinHeapSize = 1887436800 {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 = 2147483648 {manageable} {ergonomic}
bool UseCompressedClassPointers = true {lp64_product} {ergonomic}
bool UseCompressedOops = true {lp64_product} {ergonomic}
bool UseG1GC = true {product} {command line}
bool UseLargePagesIndividualAllocation = false {pd 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)\NVIDIA Corporation\PhysX\Common;C:\Program Files (x86)\Common Files\Oracle\Java\javapath;C:\ProgramData\Oracle\Java\javapath;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files\dotnet\
USERNAME=x
OS=Windows_NT
PROCESSOR_IDENTIFIER=AMD64 Family 16 Model 2 Stepping 3, AuthenticAMD



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

OS:
Windows 7 , 64 bit Build 7601 (6.1.7601.19160)
OS uptime: 0 days 0:52 hours

CPU: total 4 (initial active 4) (4 cores per cpu, 1 threads per core) family 16 model 2 stepping 3 microcode 0x0, cmov, cx8, fxsr, mmx, sse, sse2, sse3, popcnt, 3dnowpref, lzcnt, sse4a, tsc, tscinvbit, tscinv, clflush

Memory: 4k page, system-wide physical 2047M (239M free)
TotalPageFile size 4888M (AvailPageFile size 1798M)
current process WorkingSet (physical memory assigned to process): 10M, peak: 10M
current process commit charge ("private bytes"): 59M, peak: 1857M

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
So im running this on Windows Server 2016. When I try and run StartServer64.bat I get the error, "Error occurred during initialization of VM. ZGC requires Windows version 1803 or later". Now when I try to go higher than 1GB of RAM on the StartServer32.bat I get the error, "Error occurred during initialization of VM. Could not reserve enough space for 2097152KB object heap". To be clear I have 32GB of RAM and a Intel Xeon E5-1620 V2 CPU. Im not sure whats going on but Im stuck running on StartServer32.bat with 1GB of RAM. I would love some help please.
Last edited by Officer Sniper Doc; Jan 1, 2022 @ 9:02pm
Beard Jan 2, 2022 @ 5:34am 
Originally posted by IGS Apex:
So im running this on Windows Server 2016. When I try and run StartServer64.bat I get the error, "Error occurred during initialization of VM. ZGC requires Windows version 1803 or later". Now when I try to go higher than 1GB of RAM on the StartServer32.bat I get the error, "Error occurred during initialization of VM. Could not reserve enough space for 2097152KB object heap". To be clear I have 32GB of RAM and a Intel Xeon E5-1620 V2 CPU. Im not sure whats going on but Im stuck running on StartServer32.bat with 1GB of RAM. I would love some help please.
Edit the StartServer64.bat file and change the "UseZGC" flag to "UseG1GC", then save and launch the server again.
Originally posted by Beard:
Originally posted by IGS Apex:
So im running this on Windows Server 2016. When I try and run StartServer64.bat I get the error, "Error occurred during initialization of VM. ZGC requires Windows version 1803 or later". Now when I try to go higher than 1GB of RAM on the StartServer32.bat I get the error, "Error occurred during initialization of VM. Could not reserve enough space for 2097152KB object heap". To be clear I have 32GB of RAM and a Intel Xeon E5-1620 V2 CPU. Im not sure whats going on but Im stuck running on StartServer32.bat with 1GB of RAM. I would love some help please.
Edit the StartServer64.bat file and change the "UseZGC" flag to "UseG1GC", then save and launch the server again.
Thank you so much, it worked!!!
< >
Showing 1-3 of 3 comments
Per page: 1530 50

Date Posted: Jan 1, 2022 @ 3:32am
Posts: 3