PhpStorm freezes while opening the first project

Hi,

When I open the first project, the IDE freezes for 10 seconds or so, how can I troubleshoot this issue?

PhpStorm 2022.1
Build #PS-221.5080.224, built on April 13, 2022
Licensed to --
Subscription is active until November 26, 2022.
Runtime version: 11.0.14.1+1-b2043.25 x86_64
VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o.
macOS 12.3.1
GC: G1 Young Generation, G1 Old Generation
Memory: 2048M
Cores: 12
Registry:
    run.processes.with.pty=TRUE
    ide.balloon.shadow.size=0
    eslint.additional.file.extensions=svelte

Non-Bundled Plugins:
    fr.gabrielcolson.prisma.prisma-intellij-plugin (1.2.5)
    com.markskelton.one-dark-theme (5.5.2)
    org.intellij.plugins.postcss (221.5080.154)
    ru.adelf.idea.dotenv (2022.1)
    de.espend.idea.php.annotation (8.2.0)
    mdx.js (1.0.221)
    intellij.prettierJS (221.5080.169)
    dev.blachut.svelte.lang (0.22.0)
    izhangzhihao.rainbow.brackets (6.21)
    com.mallowigi (64.0.0)
    AceJump (3.8.7)

The mac CPU is at around 20% when the IDE freezes

Edit

I found all the thread dumps (zipped below)

https://www.dropbox.com/s/jk4yejpyxvxv8aa/thread-dump.zip?dl=0

Thank you

0
6 comments

The IDE becomes unusable, it has frozen for 70 seconds just now

I installed npm deps and as it was indexing, I started a "Find in files" search. As I types the first two characters, it completely froze

https://www.dropbox.com/s/5073lcd5b26k8v1/threadDumps-freeze-20220428-085452-PS-221.5080.224-70sec.zip?dl=0

0

Do you have any build tools running like npm watch, laravel mix, etc...?
Please try excluding all folders with files dynamically generated by build tools from the project (right click a directory > Mark directory as > Excluded). Do the same with all tmp, log and cache folders. 

Looks like the freezes are happening because IDE is looking at file system changes that happened because of build tools.

0

Thank you, I will try that

It didn't happen with the previous version of 2021

 

0

I removed the startup task which was calling the dev build tool, I wanted to avoid any issues coming from the fs watch

It now appears to freeze whenever indexing is performed or to be precise, whenever "Scanning files to index" is displayed

screenshot: https://scr.prestalife.net/sc2z3t6

My projects contain node_modules and vendor folders so this can be slow

 

 

Logs: https://www.dropbox.com/s/m66c1aqy6qw48zi/Archive.zip?dl=0

 

0

Sorry, the logs archive isn't full. Could you please run Help > Collect Logs and Diagnostic Data and attach resulting archive? You can also upload it using https://uploads.jetbrains.com/

1

Thank you for your reply, I will send you the full logs as soon as the issue occurs again. 

Cheers

0

Please sign in to leave a comment.