My team is struggling with limiting the head size of a Go application and would like to know how to use SetMaxHeap.
We wrote a VpnExtension for iOS which gets killed by the OS if is consumes more than 15MB, but there's no way to tell Go to not pass that limit. I learned about the debug.SetMaxHeap experiment, and it seems that may solve our problem. I'm ok running a custom runtime for now. However, it's unclear how I can use it. it seems to be one a CL that was never submitted and now has merge conflicts: https://go-review.googlesource.com/c/go/+/46751 How can I get a Go version with SetMaxHeap? Thanks Vinicius Fortuna -- 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. For more options, visit https://groups.google.com/d/optout.