Skip to content

实例内存加 8 GB 一档 - #181

Merged
qiyinxi merged 1 commit into
ModAVD:mainfrom
qiyinxi:feat/memory-8g
Nov 15, 2026
Merged

qiyinxi merged 1 commit into
ModAVD:mainfrom
qiyinxi:feat/memory-8g

Conversation

@qiyinxi

@qiyinxi qiyinxi commented Nov 15, 2026

Copy link
Copy Markdown
Member

实例内存加一档 8 GB,默认仍是 6 GB。

  • avd.MemoryChoicesMB 加 8192:命令行 --memory 8G、界面新建和设置里的内存一栏、MCP memory_mb 的 enum 都跟着多一档。
  • 旧版管理器读到 memoryMb: 8192 不认,按 6 GB 开机,不会坏。
  • 电脑内存不够时照旧由开机前检查报「电脑可用内存不足」。
  • 对照用的 instances_ref.py 档位表同步加了 8192(标了这档不在 AUTO-MAS 里)。AUTO-MAS 自己的档位表(后端常量和前端)还是四档,从它的界面里选不到 8 GB,要另外改。

测试:go test ./internal/avd/ ./internal/cli/ ./internal/mcp/ ./internal/ui/... ./internal/emu/ ./internal/root/ 通过。没有实机测。

默认仍是 6 GB。命令行、界面、MCP 都从 avd.MemoryChoicesMB 取档位;对照用的 instances_ref.py 同步加上。
@qiyinxi qiyinxi added the enhancement New feature or request / 新功能或改进 label Nov 15, 2026
@qiyinxi
qiyinxi added this pull request to the merge queue Nov 15, 2026
Merged via the queue into ModAVD:main with commit b8bedbf Nov 15, 2026
6 checks passed
qiyinxi added a commit that referenced this pull request Nov 16, 2026
changelog.d/memory-8g.feat.md 两边都是新加的,取 release/0.41 那份(行尾带 #181,见 #184)。
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request / 新功能或改进

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant