runtime: fatal: cannot map pages in arena address space #19514
Labels
FrozenDueToAge
NeedsInvestigation
Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
OS-Windows
Milestone
What version of Go are you using (
go version
)?go version go1.7.5 windows/amd64
What operating system and processor architecture are you using (
go env
)?What did you do?
Ran a bad program with a stack overflow.
What did you expect to see?
"error: Stack overflow" or "error: out of memory"
What did you see instead?
Process memory usage grows to about 4GB (this machine has 8GB physical) and then panics:
[same frame several hundred times]
[no other goroutines running]
I acknowledge the underlying stack overflow is entirely my own fault. But, this kind of error message from the runtime is worrying. It reads as if the runtime attempted to do something invalid or dangerous, instead of intelligently handling the low-memory condition.
Is the runtime behaving correctly here? Is this the expected error message under memory pressure conditions?
The text was updated successfully, but these errors were encountered: