PhpStorm chokes and freezes when editing code

I experienced a sudden drop in performance of PhpStorm. The IDE, which performed very well (without any noticeable signs of a delay in response), began to slowly and freeze for a split second each time any autofill was performed.

Despite the available 16 GB of memory (and increasing the maximum memory for the program in PhpStorm settings to 2 GB), the IDE does not use any additional memory and still freezes every few seconds. None of the available suggestions across the Internet regarding disabling unnecessary plug-ins, cleaning indexes, or changing memory has been successful. Decreasing the backlight level does not affect the described problems.

Question : Is there any other way I could do to restore normal performance without disabling some important IDE functions?

+4
source share
3 answers

I was able to determine the cause of the sudden drop in performance in question. The reason for this was to add libraries to the Gulp project, which seemed to be larger than PHPStorm, could be indexed in real time.

Solution : exclude node_modules from indexing. To do this, go to Settings> Directories, select node_modules and mark it excluded. Your PHPStorm performance should return to normal.

+2
source

, node_modules ( , PHPStorm ).

. . ( Laravel Elixir.)

.

+3

In the past, I experienced such performance issues. The options I used are

  • Increase heap memory to 4gb
  • Exclude folders from indexing
  • Disable some plugins (the last time the problem was with the PHP Inspections plugin)
0
source

Source: https://habr.com/ru/post/1648124/


All Articles