HMCL-dev / HMCL-dev/HMCL

[Bug] 当启动器设置背景文件大小过大时,启动失败并残留后台Java进程,占用大量内存(原占用5倍)

Open
#5,596 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug
Dominant language
Java
Stars
10.1k
Forks
934
Avg merge
1d 5h
Merged PRs (30d)
82

Description

问题描述 | Bug Description

设置背景(文件大小90.6MB)
卡顿无法操作12秒后正常显示
关闭再次打开,无前台进程,无窗口,后台出现Java进程(验证为HMCL进程)
内存异常(占用1128MB)
删除背景图片文件后正常启动,无异常

启动器崩溃报告 / 启动器日志文件 | Launcher Crash Report / Launcher Log File

版本1.10.4,关于启动的两份最新日志,但是因为启动器开不了,所以问题无法留下日志,推测可能是上溢等问题(?)

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the failure in HMCL 1.10.4 with the reported 90.6 MB background file, then inspect the latest startup logs if they can be obtained. Done means the launcher starts normally after setting the background, does not leave a background Java/HMCL process, and does not show the reported excessive memory use.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
desktop, performance
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.