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
"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