I think you actually want this stack of CLs. Despite Gerrit's predictions of doom, in fact they cherry-pick cleanly onto tip, and it builds, and passes tests:
git fetch https://go.googlesource.com/go refs/changes/90/66090/4 && git cherry-pick FETCH_HEAD git fetch https://go.googlesource.com/go refs/changes/50/46750/6 && git cherry-pick FETCH_HEAD git fetch https://go.googlesource.com/go refs/changes/91/66091/4 && git cherry-pick FETCH_HEAD git fetch https://go.googlesource.com/go refs/changes/92/66092/4 && git cherry-pick FETCH_HEAD git fetch https://go.googlesource.com/go refs/changes/51/46751/13 && git cherry-pick FETCH_HEAD git fetch https://go.googlesource.com/go refs/changes/40/151540/5 && git cherry-pick FETCH_HEAD git fetch https://go.googlesource.com/go refs/changes/17/156917/4 && git cherry-pick FETCH_HEAD The API will change, don't get too attached to it. On Wednesday, February 20, 2019 at 2:12:01 PM UTC-5, Vinicius Fortuna wrote: > > 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.