Skip to content

Run Android Lint in its own JVM - #127

Merged
in-jun merged 1 commit into
mainfrom
fix/lint-out-of-process
Sep 8, 2026
Merged

Run Android Lint in its own JVM#127
in-jun merged 1 commit into
mainfrom
fix/lint-out-of-process

Conversation

@in-jun

@in-jun in-jun commented Sep 8, 2026

Copy link
Copy Markdown
Owner

Lint running inside the Gradle daemon grew the heap by hundreds of MB per run until a build sat in garbage collection for 25 minutes (seen on this repo today). android.experimental.runLintInProcess=false moves lint to its own JVM; the daemon stays small and a warm build is back to seconds. Same line as in scalelite-android so the three gradle.properties stay identical.

In-process lint kept growing the Gradle daemon heap across runs until
builds stalled in garbage collection; android.experimental.runLintInProcess
=false keeps the daemon small. Same change as scalelite-android.
@in-jun
in-jun merged commit 295cab6 into main Sep 8, 2026
1 check passed
@in-jun
in-jun deleted the fix/lint-out-of-process branch September 8, 2026 07:33
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.

1 participant