Skip to content
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

fix: Improve the calculation of available memory in the docker #116

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

hyj1991
Copy link
Contributor

@hyj1991 hyj1991 commented Jan 21, 2021

Improve the calculation method of available memory in the docker environment to obtain more accurate available memory.

Reference:

@JacksonTian
Copy link
Contributor

mock 个测试吧

@hyj1991
Copy link
Contributor Author

hyj1991 commented Jan 21, 2021

mock 个测试吧

这里主要是 docker 下的 freemem 计算公式怎么取值,mock 只能 mock 计算的过程和结果,意义感觉不是很大

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants