Skip to content

Plugin uses too much memory in the builder dialog #157

@pauljura

Description

@pauljura

Hi,

I have turned on the memory indicator in PHPStorm, and set my maximum heap size to 5120MiB. While working on a project, the memory indicator will display something like: "600 of 1700M".

When I open the builder, I can see the memory creeping up. "1200 of 2500M", then "2100 of 3900", and so on. If I let it continue, eventually PHPStorm will run out of memory and crashes. If I press cancel before this, it will go back to normal.

This is a project that has >50k commits. I suspect your plugin is trying to load all commit messages to show recent subject, body, etc.

I can still use the auto-complete features in the standard commit message box, but the builder is unusable for me.

Could you possibly make it only scan the last 100 or 1000 commits, instead of the entire history? Or please advise if there is already a way to do this, as I can't find any options for it.

Thanks.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions