x/mobile/cmd/gomobile: iOS app built with gomobile-build consumes memory and never frees #25149
Labels
Milestone
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
What version of Go are you using (
go version
)?Does this issue reproduce with the latest release?
Yes
What operating system and processor architecture are you using (
go env
)?What did you do?
gomobile build -target=ios -bundleid=com.hajimehoshi.gomobiletest -work golang.org/x/mobile/example/basic
main.xcodeproj
What did you expect to see?
The app runs without memory increase.
What did you see instead?
The memory usage is increased monotonically:
It looks like
_IOAccelResourceAlloc
allocates memory and it is never disposed? I'm not sure this is an actual leak.The text was updated successfully, but these errors were encountered: