Skip to content

减小镜像大小和运行时占用内存大小 || Reduce the image size and runtime memory size #569

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
LiangWei88 opened this issue Mar 22, 2025 · 3 comments
Labels
enhancement New feature or request

Comments

@LiangWei88
Copy link

LiangWei88 commented Mar 22, 2025

我是从 0.40.5 版本, 升级到 0.45.2 版本.
之前的镜像文件大小在 500M+, 新版本的大小在 1.5G
之前的运行占用内存在 200M 左右, 现在的占用在 450M 左右.

第一个问题是镜像大小, 不过这个问题不大, 一般 vps 的硬盘都够用.
第二个问题内存占用比较重要, 一些偏移的 vps 内存有限, 不知道是不是有什么之前没有, 现在多了的功能占用了空间, 可以在设定里面去掉吗? 或者后面有没有优化内存的开发计划呢?


I'm upgrading from version 0.40.5 to version 0.45.2.
The previous image file size was 500M+, and the new version size was 1.5G
The previous operation occupied about 200M, but now it occupied about 450M.

The first problem is the mirror size, but this problem is not big. Generally, VPS hard drives are enough.
The second question is that memory usage is more important. Some offset vps memory is limited. I don’t know if there is anything that didn’t exist before. Now the extra functions take up space. Can it be removed from the settings? Or are there any development plans to optimize memory later?

@github-actions github-actions bot changed the title 减小镜像大小和运行时占用内存大小 减小镜像大小和运行时占用内存大小 || Reduce the image size and runtime memory size Mar 22, 2025
@dosubot dosubot bot added the enhancement New feature or request label Mar 22, 2025
@blinko-space
Copy link
Collaborator

blinko-space commented Mar 23, 2025

后续会有优化计划,因为换了一个ai框架


There will be an optimization plan in the future because there is a change of ai framework

@ywxhqwq
Copy link

ywxhqwq commented Mar 27, 2025

确实,更新新版之后内存占用更高了

Image


Indeed, the memory usage is higher after the new version is updated

Image

@blinko-space
Copy link
Collaborator

Image
最新版本镜像打包速度从50min->10min左右
体积500M->300M
内存占用优化到300m左右

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

No branches or pull requests

3 participants