#
# There is insufficient memory for the Java Runtime Environment to continue.
# Native memory allocation (mmap) failed to map 2147483648 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 (os_windows.cpp:3535), pid=3324, tid=12436
#
# JRE version: (17.0.3.1+2) (build )
# Java VM: Java HotSpot(TM) 64-Bit Server VM (17.0.3.1+2-LTS-6, mixed mode, sharing, tiered, compressed oops, compressed class ptrs, g1 gc, windows-amd64)
# Core dump will be written. Default location: C:\Users\Administrator\Desktop\筱的棋牌室\夏日宝可梦\夏日宝可梦\服务端\hs_err_pid3324.mdmp
#
--------------- S U M M A R Y ------------
# There is insufficient memory for the Java Runtime Environment to continue.
# Native memory allocation (mmap) failed to map 2147483648 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 (os_windows.cpp:3535), pid=3324, tid=12436
#
# JRE version: (17.0.3.1+2) (build )
# Java VM: Java HotSpot(TM) 64-Bit Server VM (17.0.3.1+2-LTS-6, mixed mode, sharing, tiered, compressed oops, compressed class ptrs, g1 gc, windows-amd64)
# Core dump will be written. Default location: C:\Users\Administrator\Desktop\筱的棋牌室\夏日宝可梦\夏日宝可梦\服务端\hs_err_pid3324.mdmp
#
--------------- S U M M A R Y ------------
- There is insufficient memory for the Java Runtime Environment to continue
你的物理内存不太够了 减少分配内存 不要将所有的物理内存全部分配给用于开服
把bat里的改成-Xms1G -Xmx2G 试试看
时泣之雨 发表于 2022-9-11 01:15
又有新报错了
你的物理内存才4G?而且空余内存是不是小于2G了 建议关闭其他软件 留出内存空间
而且开1.16.5的服务器 不需要用到java17 java8或者11就够了
梅花K 发表于 2022-9-11 01:19
你的物理内存才4G?而且空余内存是不是小于2G了 建议关闭其他软件 留出内存空间
而且开1.16.5的服务器 不 ...
这是之前的渣机,想开两人服的
时泣之雨 发表于 2022-9-11 01:21
这是之前的渣机,想开两人服的
你先换掉java版本 1.16.5不需要那么高 然后关闭其他不相干的软件 腾出多的内存空间
然后配置下bat
java -Xms1G -Xmx2G -jar CatServer-1.16.5-66a81f36-server.jar