Hi all,

If I set a low process memory limit, and then the OS refuses to grant more 
memory to a malloc request,. will the Go runtime “stop the world” and attempt a 
full garbage collection and try to get the memory from the heap and then only 
crashing the process if it can’t?

I understand that the “pacing” should limit (eliminate?) this situation, but I 
am thinking in cases when the heuristics don’t match the immediate allocations 
it would be beneficial. 

Thanks.

-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to golang-nuts+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/golang-nuts/6918A9B9-F98C-4B74-9B66-2212F531FCC7%40ix.netcom.com.

Reply via email to