[Solved] How can I reduce the virtual memory required by gccgo compiled executable?
I was able to locate where gccgo is asking for so much memory. It’s in the libgo/go/runtime/malloc.go file in the mallocinit function: // If we fail to allocate, try again with a smaller arena. // This is necessary on Android L where we share a process // with ART, which reserves virtual memory aggressively. // … Read more