Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The plugin slows down the IDE a lot #525

Closed
2 of 3 tasks
thimpat opened this issue Mar 19, 2018 · 3 comments
Closed
2 of 3 tasks

The plugin slows down the IDE a lot #525

thimpat opened this issue Mar 19, 2018 · 3 comments

Comments

@thimpat
Copy link

thimpat commented Mar 19, 2018

Prerequisites

  • Plugin is in the latest version
  • Issue was not reported yet
  • Stack trace (if provided) contains mobi.hsz.idea.gitignore package name

Description

Right click on a directory or a file makes Intellij Idea slows down monumentally to the point that the IDE becomes unusable.

Stack trace if available.

Steps to Reproduce

  1. Right click on a file
  2. Add to .gitignore

Expected behavior:
It should not slow down the IDE

Actual behavior:
It kills the IDE responsiveness

Reproduces how often:
All the time

Versions

2.4.0

Plugin:

Can be found in Settings > Plugins > .ignore

IDE:
Intellij IDEA + JRE 1.8.0
Ultimate Edition: 2017.3.5

Can be found in Help > About. Click on the copy icon on the left.

OS:
Windows 10

Information about operation system - type, version.

Additional Information

Any additional information, configuration or data that might be necessary to reproduce the issue.

@dmariaa
Copy link

dmariaa commented Mar 23, 2018

I had to disable the plugin to be able to work, it definitely slows down the IDE.

@addshore
Copy link

I also had to disable the plugin.

I filed a report with jetbrains before they told me that it was this plugin.

https://youtrack.jetbrains.com/issue/WI-39562

The ticket includes CPU snapshots.

@hsz hsz added this to the v2.5.0 milestone Mar 23, 2018
@hsz hsz added the bug label Mar 23, 2018
@hsz
Copy link
Member

hsz commented Mar 24, 2018

@addshore Thank you for sharing the CPU Snapshot. It was very helpful. Thanks to that I've noticed that the issue was with obtaining the VCS Root for the analyzed files:

image

I've refactored this part to use cached VCS Roots.

In addition, I've also fixed #521 MatcherUtil.cache takes too much memory - it should also give us some performance benefits.
Both fixes will be released next week with v2.5.0.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants