-
Notifications
You must be signed in to change notification settings - Fork 18k
cmd/compile: runs out of memory building github.com/yuin/goldmark/util #41058
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
Comments
How much memory does this system have available? Are you building inside a system like docker? |
I hadn't use the docker, if I build without flags like this, will be ok
|
CC @randall77 I assume the compiler runs out of memory building the large composite literals. How hard would it be for you to try the recent 1.15 release? |
How many cores does this system expose to userspace? |
@ianlancetaylor this might have something to do with it https://github.com/yuin/goldmark/blob/master/util/html5entities.go |
|
|
Yeah, sadly you're probably going to need a bit more physical ram if you're going to run without swap. |
thanks, I change the ram to 8G, it works
|
Disabling optimisations probably uses a lot more memory. If you add just a few kilobytes of swap the operating system will behave differently. |
What version of Go are you using (
go version
)?Does this issue reproduce with the latest release?
What operating system and processor architecture are you using (
go env
)?go env
OutputWhat did you do?
What did you expect to see?
What did you see instead?
The text was updated successfully, but these errors were encountered: