-
Notifications
You must be signed in to change notification settings - Fork 43
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
pmd plugin greatly slows down project import #31
Comments
m2e generated .project file attached |
Problem slightly improved by saving .pmdruleset.xml outside of project in another directory. That way PMD doesn't get called multiple times per project. Method EclipsePmdProjectConfigurator#createOrUpdateEclipsePmdConfiguration modified for this. The bigger problem still exists, and that is a huge memory leak that eventually exhausts virtual memory on the machine. Issue described in more detail here: https://stackoverflow.com/questions/49852097/pmd-memory-leak |
Upgrade to 4.0.16 doesn't solve the problem. |
The pmd-eclipse-plugin slows down the project import greatly, apparently because it is invoked many times and/or runs in parallel. This problem seems to have gotten worse and become severe with Eclipse Oxygen, so much so that this Eclipse release is unusable for us.
Attached is a logfile showing the problem. This shows the process when importing only one small (maven) project with only 87 files.
pmd-eclipse.log
The text was updated successfully, but these errors were encountered: