When I ran the godoc service in a docker image with less memory (6 GiB) the behavior was the same. For both a 8 GiB and 6 GiB machine, the godoc process continue to consume memory until it surpasses the memory on the machine and crashes. After the crash, the other processes on my machine continue to work and the memory is freed back entirely to the machine.
On Thu, Jun 20, 2019 at 11:10 AM Tom Mitchell <mi...@niftyegg.com> wrote: > > On Mon, Jun 17, 2019 at 9:40 PM Agniva De Sarker < > agniva.quicksil...@gmail.com> wrote: > >> Couple of questions: >> >> 1. What version of godoc and Go are you using ? What is your go env ? >> >>> One other question ... > If the OS supports limits does godoc fail nicely with smaller limits. > I am reminded of student code that would malloc(to-infinity-and-beyond) > because > student accounts had user limits and often began with a malloc() loop to > get > the largest amount possible to ease programming and speed things up. > > > > -- > T o m M i t c h e l l > > -- > You received this message because you are subscribed to a topic in the > Google Groups "golang-nuts" group. > To unsubscribe from this topic, visit > https://groups.google.com/d/topic/golang-nuts/nU706aM7QpM/unsubscribe. > To unsubscribe from this group and all its topics, 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/CAAMy4UT4EUDviAgcw0is2fsXzUfp1Xvjc5cPW-_UThkxivdEDg%40mail.gmail.com > <https://groups.google.com/d/msgid/golang-nuts/CAAMy4UT4EUDviAgcw0is2fsXzUfp1Xvjc5cPW-_UThkxivdEDg%40mail.gmail.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- 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/CAM8TFU7ROZ8sV2-9OcM0jM%3DYV6DawYN4A3ahj6NhxEErvxKfWg%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.