-
Notifications
You must be signed in to change notification settings - Fork 127
Jetbrains plugin makes IDE unusable #681
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
Comments
@Azn9 thanks for reporting this issue. Generally, the manifold plugin works with both versions of IJ, so more context is needed from your end. Is your project available on github for debugging? Are your build files available? What features/dependencies of manifold is your project using? Sometimes long pauses in IJ indicate low memory issues. Have you tried increasing IJ's memory? |
Unfortunately, no, this is a private project. I'll try to reproduce it tonight with an example if possible
We're planning to use the extension methods but the issue is not really on these, the functionalities of the plugin works, just they take a huge time to load.
Iirc, I already have it at 8+ GB, but I'll double check it to be sure. I'm at work today so I won't be able to check these until 6pm :/ |
Hello @rsmckinney, I made a project on which I can reproduce the issue, but at a way lower scale, as this project is empty compared to the other (private) one: https://github.com/Azn9/testbugmanifold Also, here's a side-by-side comparaison of what is happening when I open this project with and without the plugin: https://i.azn9.dev/uploads/bugmanifoldcomparaison.mp4 , the difference is quite noticeable. (I'm scrolling on the two screens, but the left one appears frozen due to the IDE freeze but it's not a recording issue) Also, I checked and on my other IJ (2024.3), I have 12GB of RAM allocated |
@Azn9 Thanks for making the test project. Unfortunately, I can't reproduce the problem you are experiencing in the project. All is operating smoothly. I spent some time making your build and tests work and none of that activity caused any lag or slowness. I also loaded up other projects in the background, still works fine. Can you think of anything special about your environment or IntelliJ configuration that is worth mentioning? Sometimes plugins can clash, perhaps you are using other IntelliJ plugins you could temporarily disable to rule that out? I'm looking at your stack traces for clues as to what might be causing this. BTW, here are my changes to your project as an IntelliJ Patch. Maybe there is a chance these changes could address the issue?
|
One more change you'll need to add to CoreExtensions build.gradle.kts to expose extension methods to outside modules: tasks.withType<Jar> {
manifest {
attributes["Contains-Sources"] = "java,class"
} This is explained in manifold-ext docs. |
that's interesting, does this happen only at startup, or does this happen when you make changes that cause a scan, like changing a dependency version or similar? |
Did you update the plugin and/or manifold to latest versions, or are you using the same ones as before? Can you attach the logs corresponding with the time the banner began displaying? |
It also happens when there's a change, every re-indexation causes it Here's the intelliJ log, there's not really much here and the other logs are just like the first ones I sent :( I sent you an email with the full project to see if it happens for you there too |
I've started testing Manifold today and the IDE keeps freezing often! Windows 10 I'm writing test classes to get acquainted with the possibilities of Manifold, and run the tests. Then sometimes I notice in the status bar 'Saving test results', which cannot be cancelled nor removed...and then usually the IDE becomes unresponsive and I have to kill it from a Task Manager. I keep adding dependencies as I need them, currently I have:
|
Hi @RadekWikturna. There are newer versions for IJ 2024 & 2025. You should see them in the IDE's Settings | Plugin page. You can also download arbitrary versions directly at https://plugins.jetbrains.com/plugin/10057-manifold-ij/versions Can you attach a log file here the next time you encounter a freeze? That would help a lot. Thanks. |
Describe the bug
When the plugin is enabled, the IDE freezes for very long periods (30s to 5mn!), making it completly unusable
To Reproduce
Steps to reproduce the behavior:
Expected behavior
It works
Screenshots
https://i.azn9.dev/uploads/iwdKeEy3CT.mp4
Desktop (please complete the following information):
Additional context
I switched to 2025.1 beta to try, because I had the same issue on 2024.3 with the 2024.1.27 version of the plugin too
See attached files
dump-0.txt
dump-1.txt
dump-2.txt
stacktrace.txt
The text was updated successfully, but these errors were encountered: