调整内存限制
PhpStorm 使用教程
· 2019-01-09 11:24:03
为什么调整内存?
内存不够用时,卡、卡、卡…..
特别是编辑 html、js 文件时,phpstorm 会出现卡顿,甚至未响应的情况,所有如果你电脑内存足够大,那就跳转一下 phpstorm 的内存限制吧。
调整方法
# 用的是 mac osx,编辑 phpstorm 的启动配置文件,其他平台根据情况选择:
sudo vim /Applications/PhpStorm.app/Contents/bin/phpstorm.vmoptions
# 修改参数,根据具体需要修改即可,一般修改 -Xmx(即最大可占内存)即可
-Xms512m
-Xmx2048m
-XX:MaxPermSize=350m
-XX:ReservedCodeCacheSize=240m
-XX:+UseCompressedOops
参考官方建议:Configuring JVM options and platform properties
点击查看所有 PhpStorm 使用教程 文章: https://codercto.com/courses/l/1.html
Numerical Recipes 3rd Edition
William H. Press、Saul A. Teukolsky、William T. Vetterling、Brian P. Flannery / Cambridge University Press / 2007-9-6 / GBP 64.99
Do you want easy access to the latest methods in scientific computing? This greatly expanded third edition of Numerical Recipes has it, with wider coverage than ever before, many new, expanded and upd......一起来看看 《Numerical Recipes 3rd Edition》 这本书的介绍吧!