Enormously large core filed is generated for simple Go program.

99 views
Skip to first unread message

Karan Chaudhary

unread,
Mar 20, 2018, 11:39:46 AM3/20/18
to golang-nuts
Hi,

For a simple program:

package main

import (
        "fmt"
        "os"
        "time"
)

func main() {
        fmt.Println("hello!", os.Getpid())

        time.Sleep(10 * time.Second)

}


I generate the core file using "gcore <pid>".
Size of the core file is 1.1G.

Is that normal?  
Isn't it enormously large?

Thanks,
Karan

Karan Chaudhary

unread,
Mar 20, 2018, 11:56:08 AM3/20/18
to golang-nuts
Kindly discard this.  I was looking at a different file.
Reply all
Reply to author
Forward
0 new messages