pixelherodev commented on PR #556: URL: https://github.com/apache/arrow-go/pull/556#issuecomment-3470004422
Moreover, I'm not sure the second run would even free the memory of an individual buffer. Two GC passes should be sufficient that the pool becomes empty - but if the pool becomes empty _during a GC pass_, I don't think that the objects that are removed will _themselves_ become freed? It's possible a third GC pass would be sufficient... which would also explain why it sometimes works, as it's possible for a GC pass to begin in between the two calls to runtime.GC? -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
