7.0.2 Horribly slow when adding modules

Having found 7.0.1 unusable from a performance perspective I have upgraded to 7.0.2 with somewhat better results, although I have to say I am really tempted to go back to 5.1.2 since my productivity is really being inhibited by the constant waiting around for IntelliJ to return to action.

My biggest beef is the time it takes to add a module, or indeed make any module adjustments. Each action results in a "scanning files" dialog which lasts anywhere between 30 and 60 seconds, even when I know that there is only 1 file to scan in the target directory. Its driving me nuts!

Any suggestions before I go back to 5.1.2.

This is 7.0.2 on Windows XP SP2. I have many thousands of classes in my workspace and about 20-30 modules.

4 comments

Please, capture CPU snapshot with IDEA 7.0.3 EAP version and attach to
JIRA request. We will look for performance problems in your case.

Andy Piper wrote:

Having found 7.0.1 unusable from a performance perspective I have upgraded to 7.0.2 with somewhat better results, although I have to say I am really tempted to go back to 5.1.2 since my productivity is really being inhibited by the constant waiting around for IntelliJ to return to action.

My biggest beef is the time it takes to add a module, or indeed make any module adjustments. Each action results in a "scanning files" dialog which lasts anywhere between 30 and 60 seconds, even when I know that there is only 1 file to scan in the target directory. Its driving me nuts!

Any suggestions before I go back to 5.1.2.

This is 7.0.2 on Windows XP SP2. I have many thousands of classes in my workspace and about 20-30 modules.



--
Best regards,
Maxim Mossienko
IntelliJ Labs / JetBrains Inc.
http://www.intellij.com
"Develop with pleasure!"

0

Ok, I will try it out. I have gone back to 5.1.2 for the moment because of the performance problems with 6.x and 7.x

0

7.0.3 EAP won't run. I get "An internal error occurred, click to see details", but if I click I just get a beep (and IntelliJ is still saying "Scanning files"). My project has now taken at least 5 minutes to load, still waiting.

Here is the error:

No message
java.lang.NullPointerException
at org.jetbrains.idea.maven.state.MavenProjectsStateComponent.getMavenProject(MavenProjectsStateComponent.java:345)
at org.jetbrains.idea.maven.navigator.PomTreeStructure$PomNode.updateNode(PomTreeStructure.java:569)
at org.jetbrains.idea.maven.navigator.PomTreeStructure$PomNode.]]>(PomTreeStructure.java:498)
at org.jetbrains.idea.maven.navigator.MavenProjectNavigator$1.createFile(MavenProjectNavigator.java:80)
at org.jetbrains.idea.maven.state.MavenProjectsStateComponent.refresh(MavenProjectsStateComponent.java:434)
at org.jetbrains.idea.maven.state.MavenProjectsStateComponent.access$100(MavenProjectsStateComponent.java:36)
at org.jetbrains.idea.maven.state.MavenProjectsStateComponent$2.rootsChanged(MavenProjectsStateComponent.java:83)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at com.intellij.util.messages.impl.MessageBusConnectionImpl.deliverMessage(MessageBusConnectionImpl.java:101)
at com.intellij.util.messages.impl.MessageBusImpl.pumpMessages(MessageBusImpl.java:170)
at com.intellij.util.messages.impl.MessageBusImpl.sendMessage(MessageBusImpl.java:162)
at com.intellij.util.messages.impl.MessageBusImpl.access$000(MessageBusImpl.java:36)
at com.intellij.util.messages.impl.MessageBusImpl$2.invoke(MessageBusImpl.java:102)
at $Proxy60.rootsChanged(Unknown Source)
at com.intellij.openapi.roots.impl.ProjectRootManagerImpl$MyVirtualFileManagerListener.afterRefreshFinish(ProjectRootManagerImpl.java:3)
at com.intellij.openapi.vfs.impl.VirtualFileManagerImpl.fireAfterRefreshFinish(VirtualFileManagerImpl.java:14)
at com.intellij.openapi.vfs.newvfs.RefreshSessionImpl.fireEvents(RefreshSessionImpl.java:51)
at com.intellij.openapi.vfs.newvfs.RefreshQueueImpl$2$1$1.run(RefreshQueueImpl.java:1)
at com.intellij.openapi.application.impl.ApplicationImpl.runWriteAction(ApplicationImpl.java:42)
at com.intellij.openapi.vfs.newvfs.RefreshQueueImpl$2$1.run(RefreshQueueImpl.java:3)
at com.intellij.openapi.application.impl.LaterInvocator$FlushQueue.run(LaterInvocator.java:25)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:597)
at com.intellij.ide.IdeEventQueue.c(IdeEventQueue.java:108)
at com.intellij.ide.IdeEventQueue.b(IdeEventQueue.java:118)
at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:19)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:273)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:183)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:173)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:168)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:160)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:121)

0

Please sign in to leave a comment.