"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-recover-from-out-of-memory-crash


On Friday, October 5, 2018 at 6:56:50 AM UTC-4, Thomas S wrote:
>
> Hello,
>
> 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 hardly use pprof in real time. And has it 
> crashed, pprof can't produce the final file for after-run analysis.
>
> Thank you for your help.
>
> Thomas
>

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

Reply via email to