[go-nuts] Re: How to monitor "Out of memory" crash

2018-10-07 Thread Klaus Post
On Friday, 5 October 2018 12:56:50 UTC+2, Thomas S wrote: > > > My service crash because "panic - out of memory", and I'm not sure how to > monitore it. > I just want to know, when it crashes, where are the main memory > allocations, to understand the problem. > > It is pretty sudden, I can hardl

[go-nuts] Re: How to monitor "Out of memory" crash

2018-10-06 Thread T L
"out of memory" in Go is not a real (or general) panic It is a fatal error and will crash your program without a saving mechanism. https://groups.google.com/forum/#!topic/golang-dev/wUEWhk2jtHM https://github.com/golang/go/issues/16843 https://stackoverflow.com/questions/30577308/golang-cannot-reco