Memory leak in golog

237 views
Skip to first unread message

Arsene Gandote

unread,
Feb 23, 2023, 12:02:54 PM2/23/23
to golan...@googlegroups.com
Hello Team,

I would like to report a memory leak in golog (https://github.com/golang/glog). It seems the repo does not have any issues links.

This is the stack trace:

found unexpected goroutines:
            [Goroutine 6 in state chan receive, with github.com/golang/glog.(*loggingT).flushDaemon on top of the stack:
            goroutine 6 [chan receive]:
            github.com/golang/glog.(*loggingT).flushDaemon(0x0?)
                /Users/arsene/go/src/github.com/superflat/actors/vendor/github.com/golang/glog/glog.go:882 
            created by github.com/golang/glog.init.0
                /Users/arsene/go/src/github.com/superflat/actors/vendor/github.com/golang/glog/glog.go:410 

Regards

Ian Lance Taylor

unread,
Feb 23, 2023, 1:30:57 PM2/23/23
to Arsene Gandote, golan...@googlegroups.com
Thanks. This is known and expected, and is not a bug. It's not a
memory leak, because it doesn't grow over time. It's a fixed amount
of memory that the package requires.

Ian

Arsene Gandote

unread,
Feb 23, 2023, 1:31:44 PM2/23/23
to Ian Lance Taylor, golan...@googlegroups.com
Thank you for the clarification. 
Reply all
Reply to author
Forward
0 new messages