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

How many virtual memory I can use? #68739

Closed
li9270 opened this issue Aug 6, 2024 · 1 comment
Closed

How many virtual memory I can use? #68739

li9270 opened this issue Aug 6, 2024 · 1 comment

Comments

@li9270
Copy link

li9270 commented Aug 6, 2024

go version 1.14
My go program vss increased, while rss is stable. I haven seen:
(1) "The runtime now uses a sparse heap layout so there is no longer a limit to the size of the Go heap (previously, the limit was 512GiB)." in https://go.dev/doc/go1.11
(2) go use midvise to release memory, not umap
My go program work well now. If the program runs for a long time, will it exhaust the virtual address space or influence other app using memory?
I have some question:
(1) virtual adress space which go used is unlimited ?
(2) go reserve a large virtual address space in init stage, how to understand it ?
Is there any revent document or advise?
Thanks a lot.

@seankhliao
Copy link
Member

Unlike many projects, the Go project does not use GitHub Issues for general discussion or asking questions. GitHub Issues are used for tracking bugs and proposals only.

For questions please refer to https://github.com/golang/go/wiki/Questions

@seankhliao seankhliao closed this as not planned Won't fix, can't repro, duplicate, stale Aug 6, 2024
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

No branches or pull requests

2 participants