• Chào bạn, hãy đăng ký hoặc đăng nhập để tham gia cùng bọn mình và sử dụng được đầy đủ chức năng của diễn đàn :).
TruongTrann

Hỏi về server Paper

Trạng thái
Không mở trả lời sau này.
Invalid initial heap size: -Xms8G
The specified size exceeds the maximum representable size.
Error: Could not create the Java Virtual Machine.
Error: A fatal exception has occurred. Program will exit.

sau khi cài lại nó ra lỗi này
 
java -Xms8G -Xmx8G -XX:+UseG1GC -XX:+ParallelRefProcEnabled -XX:MaxGCPauseMillis=200 -XX:+UnlockExperimentalVMOptions -XX:+DisableExplicitGC -XX:+AlwaysPreTouch -XX:G1NewSizePercent=30 -XX:G1MaxNewSizePercent=40 -XX:G1HeapRegionSize=8M -XX:G1ReservePercent=20 -XX:G1HeapWastePercent=5 -XX:G1MixedGCCountTarget=4 -XX:InitiatingHeapOccupancyPercent=15 -XX:G1MixedGCLiveThresholdPercent=90 -XX:G1RSetUpdatingPauseTimePercent=5 -XX:SurvivorRatio=32 -XX:+PerfDisableSharedMem -XX:MaxTenuringThreshold=1 - Dfile.encoding=UTF-8- Dusing.aikars.flags=mcflags.emc.gs -Daikars.new.flags=true -jar paper-1.12.2-1618.jar nogui
 
ơ từ từ sao cái java nãy tui cài từ link của ông lại là 32bit
30041
 
Đã về 64bit
30042


và nó lại về cái lỗi cũ

Unrecognized option: -
Error: Could not create the Java Virtual Machine.
Error: A fatal exception has occurred. Program will exit.
 
hình như lỗi là ở cái flag hay sao ý. ở cái đoạn
XX:MaxTenuringThreshold=1 - Dfile.encoding=UTF-8-

nếu tôi xóa cái dấu - ở giữa cái XX:Max và Dfile.encoding ở giữa 2 cái đấy có cái đấu - nếu tôi xóa dấu này đi nó sẽ ra được như này

Picked up _JAVA_OPTIONS: -Xmx10250M
Error: Could not find or load main class Dfile.encoding=UTF-8-

còn nếu để cái dấu - lùi về chỗ encoding "XX:MaxTenuringThreshold=1 -Dfile.encoding=UTF-8- " thì sẽ như thế này

Picked up _JAVA_OPTIONS: -Xmx10250M
Error: Could not find or load main class Dusing.aikars.flags=https:..mcflags.emc.gs
 
Trạng thái
Không mở trả lời sau này.
Similar content Most view Xem thêm
Back
Top Bottom