You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It looks to me like you have a loop that is calling NewSource and storing the result in some other structure that is also not being freed. The traceback implies it's the caller of NewSource that's the problem, not NewSource itself.
Also, as @seankhliao wrote, there is a rand/v2. It was created because the old rand's Source is far too large. The new one should reduce the footprint enormously. However, I still believe the real problem lies in the code calling NewSource itself.
Go version
go version go1.19.1 darwin/amd64
Output of
go env
in your module/workspace:What did you do?
develop
What did you see happen?
Variable rng memory is not released and continues to grow
What did you expect to see?
none
The text was updated successfully, but these errors were encountered: