phpstorm hangs sometimes when maximizing the IDE again
Hi,
since I have reset my folder exclusion to the recommended settings from the Shopware project (less exclusion), my IDE hangs sometimes (most of the times) when I maximize the window again. Due to the timestamps in idea.log I found a repeated error which equals the maximize timestamp:
2017-07-17 12:54:46,843 [2984788] INFO - agnostic.FrequentEventDetector - Too many events posted, #1. Event: java.awt.event.InvocationEvent[INVOCATION_DEFAULT,runnable=LaterInvocator.FlushQueue,notifier=null,catchExceptions=false,when=1500288886841] on sun.lwawt.macosx.LWCToolkit@621ce618
java.lang.Throwable
at com.intellij.openapi.diagnostic.FrequentEventDetector.eventHappened(FrequentEventDetector.java:74)
at com.intellij.ide.IdeEventQueue.doPostEvent(IdeEventQueue.java:1153)
at com.intellij.ide.IdeEventQueue.postEvent(IdeEventQueue.java:1144)
at java.awt.EventQueue.invokeLater(EventQueue.java:1272)
at javax.swing.SwingUtilities.invokeLater(SwingUtilities.java:1290)
at com.intellij.openapi.application.impl.LaterInvocator.a(LaterInvocator.java:345)
at com.intellij.openapi.application.impl.LaterInvocator.access$500(LaterInvocator.java:52)
at com.intellij.openapi.application.impl.LaterInvocator$FlushQueue.run(LaterInvocator.java:400)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:311)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:762)
at java.awt.EventQueue.access$500(EventQueue.java:98)
at java.awt.EventQueue$3.run(EventQueue.java:715)
at java.awt.EventQueue$3.run(EventQueue.java:709)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:80)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:732)
at com.intellij.ide.IdeEventQueue.b(IdeEventQueue.java:827)
at com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.java:655)
at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:365)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:82)
Before, I have excluded the /var folder completely. Now, only /var/log is excluded as recommended from the project: https://developers.shopware.com/developers-guide/phpstorm/#configure-project-directories
The Shopware version I am using equals to the latest tagged 5.2 Git Version, which can be found here: https://github.com/shopware/shopware
Usually when this hang happens, I have running my Grunt watcher and an opened database connection to the MySQL Shopware database scheme.
I tried to increase the XmX JVM Memory exponentially, but this didn't help.
Any help to this topic would be great, since I am not sure if this is a bug or not. Maybe it only appears on huge projects like Shopware. I am using MacOS Sierra Version 10.12.5.
Thanks,
Thomas
Please sign in to leave a comment.
Hello,
It's really hard to say anything about this - log snippet is very generic and does not provide any useful details.
Please contact our Support team via Request (can be submitted via link in the header of this page) or via issue tracker at http://youtrack.jetbrains.com/issues/WI#newissue=yes - additional investigation of log files and other details is required.
Ok thanks for that info.
I opened a request. I will also tell here the results of that request, when I will get some.