[#12655] Memory leak
自动翻译暂时不可用
本帖暂时展示 GitHub 原始内容。
Platforms
Linux
Build
160.3
Issue
Game leaks memory and OOMs, I think it's related to leaking PathRequest objects?
Steps to reproduce
Load the provided save file on a headless server
Mods used
None
Save file
uploaded to discord https://discord.com/channels/1201100294113722418/1201100295283945604/1548811905970339940 because github doesn't like the msav file
(Crash) logs
<img width="1179" height="948" alt="Image" src="https://github.com/user-attachments/assets/fdd172e8-9a66-49ce-901e-d50d26532b9e" />
Heap histo from local server:
<img width="1148" height="1122" alt="Image" src="https://github.com/user-attachments/assets/dcc27851-f085-4dad-933d-a7a62ef79730" />
Heap histo from remote server (had 3G alloced and more time so more objects)
<img width="1107" height="602" alt="Image" src="https://github.com/user-attachments/assets/4df8a0a5-4b6a-4cea-aae2-545ef944d907" />
<img width="773" height="345" alt="Image" src="https://github.com/user-attachments/assets/5bea15cf-7385-4edd-9bf0-fd975c87e096" />
Submission
I have updated to the latest release (https://github.com/Anuken/Mindustry/releases) to make sure my issue has not been fixed.
I have searched the closed and open issues to make sure that this problem has not already been reported.
I am not using Foo's Client.
This issue occurs with no mods enabled.
I have attached a valid save file.
由 MDT GitHub 同步机器人自动同步。