-
Notifications
You must be signed in to change notification settings - Fork 177
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
MatcherUtil.cache takes too much memory #521
Comments
@eschava This is huge! I'll try to fix it and release with next v2.5.0 |
Can I ask you to install manually following build? This contains migration from the Please let me know it it works fine for you (regarding memory, performance and ignoring in general). |
My IDEA hung up with the stacktrace below. Could it be related to the non-syncronized access to the cache?
|
@eschava Yeah, good point. It was a static object shared between threads. HashMap somehow was thread-safe, but this new storage isn't. I got rid of this static idea. Can you please verify it again? |
Now IDEA hung on startup :) I've got similar dumps at several threads
|
@eschava I'm very sorry for that. I've checked this package couple times before posting here and didn't even notice this kind of issue. |
No, sorry, it's our closed project. |
Prerequisites
mobi.hsz.idea.gitignore
package nameDescription
IDEA took too much memory and memory analyzer showed that MatcherUtil.cache takes 1.3 GB in my case. Size of the map - 24M of records, every record is 48 bytes.
Details of the project opened in IDEA:
Number of files in project: 140K
Number of lines in .gitignore: 700
Number of files under git: 44K
Number of ignored files: 93K
Steps to Reproduce
Expected behavior: Used memory should be less than 1G
Actual behavior: Used memory is 1.5-2G
Reproduces how often: 100%
Versions
Plugin:
IDE:
OS:
The text was updated successfully, but these errors were encountered: