Re: [go-nuts] Re: Lots of retained free spans

2023-05-29 Thread Robert Engels
Go GC does not use a compacting/copying collector so depending on your allocation patterns you could see this behavior. But you’re stating > 70% free spade available. I.e It may be that these are holes that cannot be released to the OS. > On May 29, 2023, at 10:08 AM, Gleb Petrovichev > wro

[go-nuts] Re: Lots of retained free spans

2023-05-29 Thread Gleb Petrovichev
I'm having the exactly same problem now. Did you by any chance able to figure it out? I'm compiling with go1.19.8 though. Thanks On Saturday, January 29, 2022 at 2:02:18 AM UTC+1 Eric Hubbard wrote: > I've been trying to root cause an OOM condition. My process is running > within a cgroup with

Re: [go-nuts] Using struct{} for context keys

2023-05-29 Thread Andreas Götz
Thank you. Zero values are of course identical. I was only thinking about the pointer case... On Sunday, May 28, 2023 at 5:10:33 PM UTC+2 burak serdar wrote: > Two values A and B are equal (A==B) if A and B have the same type and the > same values. In a code where > > a:=clientContextKey{} >