Skip to content

Conversation

@kaeawc
Copy link
Contributor

@kaeawc kaeawc commented Nov 19, 2024

Instructions

Upgraded Kotlin & KSP so this project can receive a KSP memory leak fix google/ksp#2073

I profiled NowInAndroid with a dev local build of KSP to originally test the fix which made it into release 2.0.21-1.0.26. I just profiled it again before and after the upgrade and can verify the metaspace leak is fixed by this change.

@dturner
Copy link
Collaborator

dturner commented Nov 19, 2024

Thanks for this.

Just a note for the future, if you update dependencies please also run ./gradlew dependencyGuardBaseline to update the dependency guard files. These make it easy for us to see what's changed in the release build.

@dturner
Copy link
Collaborator

dturner commented Dec 18, 2024

We've spent quite a bit of time updating library dependencies recently. Both Kotlin and KSP have been updated as part of updates elsewhere.

@dturner dturner closed this Dec 18, 2024
@kaeawc kaeawc deleted the kaeawc/upgrade-kotlin-and-ksp-for-metaspace-leak-fix branch December 22, 2024 02:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

KSP memory leak in Android build

2 participants