Open File or Project is really slow

When using the "open File or Project" dialog window, it loads the last used directory for 10-30 seconds. This is really annoying. The process is still responding if i check the task manager

Software: Phpstorm 2018.3.5.

PC specs: c: drive is 2x 850 evos in raid 0, 16 gb ram, i5-6660k @3.5ghz.

Gif example

 

 

Any ideas what this can be?

9 comments
Comment actions Permalink

Do you have antiviruses? If you do - try disabling them or adding PhpStorm installation directory to its exclusions. 

No other suggestions currently other than that. 

You can also submit this at https://youtrack.jetbrains.com/newIssue for a closer look.

If you do this please:

1) attach logs after you've reproduced the issue (Help > Show log in ...)

2) capture a CPU snapshot while reproducing the issue. Here's an article about this: https://intellij-support.jetbrains.com/hc/en-us/articles/207241235-Reporting-performance-problems

 

 

1
Comment actions Permalink

Hi Dmitry,

Thanks for the quick response.

After I disabled Windows Defender (Which i thought i had already done) it was working fluently. Also now my file-related console commands also run faster. So If you have Windows 10, make sure you tell it that PhPstorm should be excluded.

0
Comment actions Permalink

Thanks for an update!

0
Comment actions Permalink

Hello,

2019.2 version was opening normally, after I updated to 2019.3 community version, it started doing like the above image shows, it take 70 seconds to show the list of projects.

I can't update antivirus or stop it, have not enough rights. The Help>Show log in... doesn't show anything about opening project. CPU for intellij used only 5-10%.

(Is there a quick way to downgrade to 2019.2?)

thank you.

0
Comment actions Permalink

Do you have any attached shares? If they are disconnected and Phpstorm scans that directory, it will hang for about 20 sec per share.

In cmd, run "net use" to see which drives are disconnected

0
Comment actions Permalink

Thank you Tariqul for quick response. I checked all 15 shares I have, and all connected. Is there a way to set scanning only c: drive and to ignore the 15 shares?

thank you.

0
Comment actions Permalink

No, unfortunately you can't limit IDE to scan only C drive.

 

0
Comment actions Permalink

Well, just to try I installed 2019.2.4, in its own folder. The older version listed my projects in ONE second, seventy times faster!!!

I think, it would be good, when IDE can list projects as it finds some then scan the whole world for other projects. If it happened, the project I need on the list, I can click on it open it and the scan is cancelled. However, if need the one that is not on the list then I can wait 70 seconds for the one.

The product is awesome, I like it a lot, but this is just a suggestion. Thank you ALL very much!

0
Comment actions Permalink

Adding the installation directory to the antivirus' exclusions is not a solution, it's a workaround for the UI thread being blocked by a task which can take on the order of minutes to complete. Worse, the Open File dialog is a modal, so we can't use the app at all while we wait; we can't even cancel.

It's not even a viable workaround for many people. My organization's security team quite rightly does not grant us all permission to configure our antivirus to exclude arbitrary directories.

0

Please sign in to leave a comment.