Skip to content

OOM when Gradle syncing after updating to 6.0.4 #1031

@sky-ricardocarrapico

Description

@sky-ricardocarrapico

After updating from 5.17.1 to 6.0.4 I started having OOM when doing a Gradle sync for the second time on the same daemon.

Even the first sync seems to take longer than usual.

I ran the hprof through Eclipse Memory Analyzer:
Screenshot 2021-12-10 at 13 36 11

The culprit seems to be related with GitRatchetGradle and VisitableURLClassLoader.

I'm not sure if there is any more useful info that can be extracted from the memory analyzer. Let me know what can I do to help.

Gradle version: 7.3/7.3.1
Spotless version: 6.0.4
OS: macOS 11.6

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions