PHPStorm/Webstorm increase memory to more than 512MB

后端 未结 6 536
忘掉有多难
忘掉有多难 2021-02-02 05:17

I\'m using PHPStorm under Win7 64bit with 64bit Java (latest version I guess) and working currently on an insanely big and chaotic project

6条回答
  •  别跟我提以往
    2021-02-02 06:02

    After reading this post, I switched to 64bit version (after installing correct JDK) and increased designated memory to 2GB just to shut it up. But I still hit the ceiling, freezes et.c.

    Eventually realized, that I had my bower_componentsfolder tracked. Folders like this with tons of javascript-files et.c. will basically eat all ram in the world (I also exclude node_modules folder now, same story). So I right-clicked the folder > Mark directory as > Exluded. After some garbage-collection, bumped PhpStorm's memory footprint down to 5-600mb, which seems reasonable.

提交回复
热议问题