runningcode / gradle-doctor

The right prescription for your Gradle build.
http://runningcode.github.io/gradle-doctor
Apache License 2.0
722 stars 46 forks source link

Reducing high memory consumption #348

Open eugene-krivobokov opened 1 month ago

eugene-krivobokov commented 1 month ago

Hi!

There was a report about a potential memory leak: https://github.com/runningcode/gradle-doctor/issues/247 It turned out that this is expected and the plugin stores a quite detailed information about build operations to make needed calculation.

The thing is that memory consumption increases so big that it makes using of the plugin problematic on big projects. In my environment this is the top-1 memory consumer.

Therefore, I'd like to revive this topic to clarify potential improvements, if possible.

With plugin: Screenshot from 2024-05-27 19-40-58

with_plugin

Without plugin: without_plugin