Skip to content

Commit

Permalink
添加内存泄漏问题
Browse files Browse the repository at this point in the history
  • Loading branch information
2623684696 committed Feb 16, 2024
1 parent a6a7ee4 commit b02b7b2
Show file tree
Hide file tree
Showing 2 changed files with 53 additions and 0 deletions.
17 changes: 17 additions & 0 deletions docs/common.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# 双端通用问题

## 内存溢出

解释:JVM 内存溢出,导致游戏崩溃。

解决方案:更新显卡驱动,64位用户,请确保使用64位Java,32位系统用户请调低你的mc使用内存

显卡驱动下载:[Intel](https://www.intel.cn/content/www/cn/zh/search.html#sort=relevancy&f:@tabfilter=[Downloads]&f:@stm_10385_zh=[%E6%98%BE%E5%8D%A1]) | [AMD](https://www.amd.com/zh-hans/support) | [Nvidia](https://www.nvidia.cn/geforce/drivers/)

64位java下载[Java 8](https://cdn.crashmc.com/https://github.com/bell-sw/Liberica/releases/download/8u312%2B7/bellsoft-jre8u312+7-windows-amd64-full.msi) | [JDK 17+](https://cdn.crashmc.com/https://github.com/bell-sw/Liberica/releases/download/17.0.1%2B12/bellsoft-jdk17.0.1+12-windows-amd64.msi)

关键词:

```
EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x00007ffb5c7288a1, pid=25504, tid=25880
```
36 changes: 36 additions & 0 deletions docs/shared.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
# 通用问题

## 未同意 EULA

解释:没有同意[《最终用户许可协议》(EULA)](https://www.minecraft.net/zh-hans/eula)

解决方案:将服务端所在目录下的 `eula.txt` 中的 `eula=false` 更改为 `eula=true`,然后重启服务器。

关键词:

```
You need to agree to the EULA in order to run the server. Go to eula.txt for more info.
```

## 端口被占用

解释:欲用作启动服务器的端口被其它进程占用。

解决方案:打开服务端所在目录下的 `server.properties`,修改 `server-port` 的值。注意这个值要介于 `1024``65536` 之间。

关键词:

```
Perhaps a server is already running on that port?
```

## 1 tick 执行时间过长

解释:服务器 1 tick 执行时间过长导致崩溃

解决方案:调整 server.properties 文件,将 max-tick-time 值调高或设为 -1
关键词:

```
java.lang.Error: Watchdog
```

0 comments on commit b02b7b2

Please sign in to comment.