Re: [go-nuts] Aggressive Golang Garbage Collection Issues When Using cgo?

2019-05-24 Thread zodness
Thankyou for your reply - my responses are embedded below.. On Friday, May 24, 2019 at 1:12:43 AM UTC-4, Jan Mercl wrote: > > On Fri, May 24, 2019 at 3:05 AM > wrote: > > > > Unfortunately, after fitting the code with KeepAlive() calls (some > probably superfluous), the issues and their freque

Re: [go-nuts] Aggressive Golang Garbage Collection Issues When Using cgo?

2019-05-23 Thread zodness
Unfortunately, after fitting the code with KeepAlive() calls (some probably superfluous), the issues and their frequency have not notably changed. It did allow me to remove the hack I had put in LockST() described in my original note though. I've even gone as far as commenting out the finalizer

Re: [go-nuts] Aggressive Golang Garbage Collection Issues When Using cgo?

2019-05-23 Thread zodness
Thank you very much Ian. Being new to the language, I was unaware of KeepAlive() but had been wondering how you kept the GC's aggressive tendencies under control. I know what I'll be doing today.. Steve -- You received this message because you are subscribed to the Google Groups "golang-nut