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
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
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)
3, see webstorm of memory for the configuration file, open the Finder
Select Application application, find webstorm right, select Show Package Contents
Path: content / bin, select webstorm.vmoptions (some idea.vmoptions
this file?)
The second step, the webstorm
not need to use plug-ins to turn off
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.