-
-
Notifications
You must be signed in to change notification settings - Fork 136
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
High load when plugin is enabled #800
Comments
I had the same issue, but after updating to the most recent (and the one before) EAP, the issue is gone. |
This is not a problem if i open another project (with less routes, services etc.) |
is there a way to reduce the issue scope; which component routing, services results in this behavior, try to delete some of them ;) did you ignore you cache folder for not indexing it? |
One step further, there seems to be one twig template that causes this high load. If i select and cut all the text from the file, the load drops. If i paste it back and save it, boom, its high again. |
is the ide still responding or blocked? possible an endless loop in twig template paths. |
Same behavior. Change a twig file and save. Clicking save causes a full load on all cpu's. The ide is still responsive. I've tried 0.12.127, .126 and .125 versions. I fear the issue is not new. If you need more investigation let me know. |
I can still use the ide, scrolling becomes a pain. And my Mac starts to turn on the fans, which never happens. The endless loop thing, i removed all the includes in the template but the problem still occurs. Is there a debug option in the plugin that logs its every move? This might help. |
When I had this problem I increased the memory the JavaVM can use via "Help | Edit Custom VM Options". Since then I don't have this problem anymore as the whole index needs no swapping anymore and can be held in memory (I guess). Oh and also decreasing the size of particular files was a good thing to do. The Inspections of all Stuff (this Plugin, other Plugins and IDEA integrated Inspection, especially external tools like PHPCS) will choke on an 200-300+ lines sized file (e.G. HTML) and slow down the IDE significantly - At least as far as I can tell. EDIT: Just saw the most first sentence that the problems are only when this plugin is activated, I guess the first paragraph of my answer is still valid though. The second is more or less a generic optimization hint for fixing somewhat sluggish ide. |
Thanks for the comment but i will be waiting for the next release to see if this makes any difference. |
Updated to last version, system seems a lot more stable. Problem solved, thanks! |
I am experiencing some problems with this plugin. Whenever i enable the plugin i have a high load on my Mac (macOS Sierra 10.12, 2,3 GHz Intel Core i7, 8 GB mem)
I was running version 0.12.127 of the plugin when i first noticed the high load. So i downgraded to 0.12.126 but this made no difference.
PhpStorm 2016.2.1
JRE: 1.8.0_76-release-b216 x86_64
JVM: OpenJDK 64-Bit Server VM by JetBrains s.r.o
Any ideas where i can find the solution to this problem?
Thanks in advance!
The text was updated successfully, but these errors were encountered: