-
Notifications
You must be signed in to change notification settings - Fork 26
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 jetty plugin makes opening "run configurations" very slow #195
Comments
I captured the following from jstack while switching to a jetty run config:
|
RJR is trying to build the complete classpath entry list and then bind them to the ui components, however in modern web application, there are usually tons of dependenting libs, which causes eclipse hangs up on such operation. The ideal way is that we should load the classpath entries lazily rather than load them on showing even the classpath tab is not shown. Thanks very much for your report and I will see whether it is possible to make classpath entry loading lazy. The current work around is, well, SSD may be helpful, my computer with SSD hangs only 2-3 seconds on showing the configuration. |
I do have a SSD on the machine of the report, but the projects I'm working on are some massive beasts (100+ modules, millions of LOC) |
Wow.... I think your situation is really rare. I will try to address this issue, but please wait, or PR please :) |
I did a brief research and it seems not impossible, but I need time to make it really work. |
Now, I added a experimental option at the rjr's preference page, window->preference->rjr, "lazy load classpath entry status". I am not sure whether this could help your situation, or there is any other potential issue, but you can try it . Reinstall your plugin or update it directly via eclipse. Looking forward to your feedback. |
I am having the same issue on a very large project. Tried the new option in preferences and don't see an improvement. On Eclipse Mars OSX
|
When is it slow? Before my previous fix, it was very slow when you open the launcher configuration window, and then after the fix, it should be faster when you open the launcher configuration window, but it is still slow when you switch to the classpath configuration tab. It is difficult to fasten the classpath configuration tab base on current source structure, I need more time to find out a way. |
Its slow when clicking on the run configuration to view it. Got it to eventually work. I think it was about 20 minutes. |
That is completely beyond expectations, perhaps my previous fix has no effect on this issue. I need more time to discovery the reason at first. Btw, how many libraries are in your project? And are you using SSD or traditional HDD? |
I'm checking out the plugin, nicely done. However I noticed that since installing and using it, opening the "run configuration" dialog to edit params takes a long time (10+ seconds on a recent laptop with a core i7). This happens only if the last run was done via the jetty runner, and also happens switching to another jetty run configuration once the dialog has been opened. The CPU is 100% used during that time.
The text was updated successfully, but these errors were encountered: