Skip to content

refineImports plugin causes excessive memory use #2962

Closed
@mpickering

Description

@mpickering

The refineImports plugin calls TypeCheck on all transitively imported modules which violates the important memory invariant that we only store TypeCheck results for files of interest. I recommend disabling this plugin by default until it is fixed.

My experience on GHC is that disabling this plugin causes start-up memory usage to decrease from 3GB to 1GB.

Metadata

Metadata

Assignees

No one assigned

    Labels

    status: needs triagetype: bugSomething isn't right: doesn't work as intended, documentation is missing/outdated, etc..

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions