通过编辑自定义 VM 选项来调整 PhpStorm 性能
可以更改*.vmoptions
和 idea.properties
文件,而无需在 PhpStorm 安装文件夹中对其进行编辑。
请按照以下步骤操作:
步骤 1:
运行 Help
- Edit Custom VM Options...
第 2 步:
如果出现提示,请确认配置文件的创建
第 3 步:
如果要使用 OpenGL,请添加以下行
# This line could already be there depending on your PHPStorm version
-Dawt.useSystemAAFontSettings=lcd
-Dawt.java2d.opengl=true
如果要增加分配给 PhpStorm 的内存,请添加以下行(提高大型项目的性能)
# This line could already be there depending on your PHPStorm version
-Xmx750m
保存文件并重新启动程序。