Gu-ZT / Curtain

A Forge mod like fabric-carpet
GNU Lesser General Public License v2.1
47 stars 12 forks source link

[Bug] 服务器假人在放置使用约1小时后内存不断升高直到出现掉刻现象 #165

Open Tangbelief opened 3 months ago

Tangbelief commented 3 months ago

OS Version - 操作系统

Linux

Version Details - 版本信息

curtain : 1.3.2,Minecraft : 1.20.1,Arclight端1.0.6

Describe the bug - 问题描述

服务器在放置约1小时假人后出现掉刻,后台显示滞后。服务器CPU,硬盘占用并无明显升高。内存出现跑满的现象。 日志文件:2024-07-01-5.log

To Reproduce - 复现问题

复现方法同问题描述。尝试过使用Memory Leak FixModernFix,但是内存占用依旧会升高直到掉刻。 似乎类似于issue147,但是我现在使用的Curtain是1.3.2,仍然会出现这个问题。

This issue is unique - 这个issue是唯一的

Cool1446 commented 2 months ago

出现相同问题,Win11 Curtain version:1.3.2 Minecraft 1.20.1 Forge:47.2.20

5aaee9 commented 2 months ago

目前在 #154 修复后似乎没有发版,可以自己编译一份最新的 1.20

@Cool1446

手动构建

git clone https://github.com/Gu-ZT/Curtain.git -b 1.20.1
cd Curtain
# Linux
./gradlew build

# Windows 
.\gradlew.bat build

产物会存在 build/libs/

预编译

同时,这里是一份基于 af9ffff29dace384f31d43920e8173866254d690 的预编译版本,如果觉得麻烦可以使用( https://pan.baidu.com/s/1vJfgj7DJEZX7Wi80p_I5QQ 4xbq

WANGNIMA912 commented 1 month ago

目前在 #154 修复后似乎没有发版,可以自己编译一份最新的 1.20

@Cool1446

手动构建

git clone https://github.com/Gu-ZT/Curtain.git -b 1.20.1
cd Curtain
# Linux
./gradlew build

# Windows 
.\gradlew.bat build

产物会存在 build/libs/

预编译

同时,这里是一份基于 af9ffff 的预编译版本,如果觉得麻烦可以使用( https://pan.baidu.com/s/1vJfgj7DJEZX7Wi80p_I5QQ 4xbq

一般这种手动构建网上有教程吗,一直搞不懂

5aaee9 commented 1 month ago

@WANGNIMA912 一般来说使用 gradle 等工具编译就行了,只需要配置 JDK 环境就好