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

Add some notes about getMemoryAmount() and getNumberOfPhysicalCPUCores() #5125

Closed
Lloyd-Pottiger opened this issue Jun 10, 2022 · 0 comments · Fixed by #5126
Closed

Add some notes about getMemoryAmount() and getNumberOfPhysicalCPUCores() #5125

Lloyd-Pottiger opened this issue Jun 10, 2022 · 0 comments · Fixed by #5126
Assignees
Labels
type/enhancement The issue or PR belongs to an enhancement.

Comments

@Lloyd-Pottiger
Copy link
Contributor

Enhancement

getMemoryAmount() and getNumberOfPhysicalCPUCores() do not support environment under resource isolation mechanism like Docker, cgroup. we should add some note about it to prompt developers to use caution.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type/enhancement The issue or PR belongs to an enhancement.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant