Webstorm out of memory to solve the problem of insufficient memory

WebStorm2019 mac in terms of JavaScript and TypeScript, framework, HTML and style sheets, test, tools, IDE and other updates and improvements, greatly improving the performance of the program, WebStorm has now been hailed as the majority of Chinese developers JS "Web front-end development artifact "" the most powerful HTML5 editor "," the most intelligent JavaScript IDE "and so on. Here is the solution webstorm out of memory out of memory Tutorials

05101214_9b08bf3dee.png

Step 1: Make Mac memory usage
1, click on the upper right corner of the search, the search Activity Monitor, double-click the icon to open

05100941_64dbc7fe82.jpeg

2, you can view the time webstorm use much memory is basically ranked first, especially when in use webstorm iTerm command window operations (I was using npm install Gulp plug), then my laptop keyboard began fever (upper right corner more obvious), there was a clear voice of the fan rotation, this time to the perceived lack of memory CPU utilization is too high. (Ps: it is recommended that all ITerm comes with Mac)

05100954_a6a0a3a7a8.jpeg

3, see webstorm of memory for the configuration file, open the Finder

Select Application application, find webstorm right, select Show Package Contents

05101002_1690d9c490.jpeg

Path: content / bin, select webstorm.vmoptions (some idea.vmoptions
this file?)

05101023_441e55ff51.jpeg

05101029_de5a4a2798.jpeg

The second step, the webstorm
not need to use plug-ins to turn off

05101048_188c1b6b4b.jpeg

The third step: Modify webstorm

Parameter memory use, or to prevent flash back Caton (modified threshold memory associated reduction ratio not reduce memory value)

1. Select webstorm.vmoptions

The file is opened with webstorm

The default parameters are
-Xms128m-Xmx750m-XX: MaxPermSize = 350m-XX: ReservedCodeCacheSize = 240m-XX: + UseCompressedOops-javaagent: JetbrainsCrack.jar

2, before modifying to two values:
-Xms512m-Xmx2048m-XX: XX-MaxPermSize = 350m: ReservedCodeCacheSize = 240M-XX: + UseCompressedOops option-the javaagent: JetbrainsCrack.jar

Problems you may encounter, will pop-up window asking whether to modify the current file. Because it is not currently open files in the project, other documents, software alert box pops up asking that all changes, this time select OK
confirm it.

05101057_fa9964a768.jpeg


Guess you like

Origin blog.51cto.com/14370425/2426744