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
I think you can close this. Our issues has gone away after some changes in Fyne in combination the latest staticcheck releases. Thanks for making the best static analysis available 🙂
That's good to hear, but now I'm even more curious to find out what specific change in Fyne fixed it. September 2020 to January 2021 should be a small enough range to be able to bisect this nicely.
I'll definitely still look into this at some point.
Ah, I see. Sorry, I should have attached a link to the changes. It was largely fixed by fyne-io/fyne#1638 which changed the bundled (or embedded if you may) resources from being []byte to string. This was initially brought up in fyne-io/fyne#1436 due to the severe memory usage issues that I had reported to gopls. It is also becoming much less of an issue now that we have go:embed in Go 1.16, though I guess there might still be some cases where large slices could cause excessive memory usage.
Ah, I see. I am going to close this, then. A large portion of the memory usage seems to be in go/ast and go/types. Our IR is piling on even more memory usage, but that's indirectly tracked by #618. And you're right about go:embed making this issue less important.
People have reported OOMs in Travis.
The text was updated successfully, but these errors were encountered: