当前位置:网站首页>Idea modifying JVM memory
Idea modifying JVM memory
2022-06-29 04:07:00 【Old memories of deep alleys】
IDEA modify jvm Memory ( What we use here is IDEA 2022 edition )
open idea On the menu bar Help Click on the Edit Custom VM Options... You can see the open file idea64.exe.vmoptions
take idea64.exe.vmoptions The internal content is modified to
-Xms500m
-Xmx4096m
-XX:ReservedCodeCacheSize=512m
-XX:+UseG1GC
-XX:SoftRefLRUPolicyMSPerMB=50
-XX:CICompilerCount=2
-XX:+HeapDumpOnOutOfMemoryError
-XX:-OmitStackTraceInFastThrow
-ea
-Dsun.io.useCanonCaches=false
-Djdk.http.auth.tunneling.disabledSchemes=""
-Djdk.attach.allowAttachSelf=true
-Djdk.module.illegalAccess.silent=true
-Dkotlinx.coroutines.debug=off
-Xms128m, 16 G Memory of the machine can try to set to -Xms500m
( Sets the initial memory count , Increasing this value can increase Java The startup speed of the program . )
-Xmx750m, 16 G Memory of the machine can try to set to -Xmx4096m
( Set the maximum amount of memory , To improve the value , You can reduce memory Garage Frequency of collection , Improve program performance )
-XX:ReservedCodeCacheSize=240m, 16G Memory of the machine can try to set to
-XX:ReservedCodeCacheSize=512m ( Reserve the memory capacity of the code )
Set and restart idea You can see that the parameter is modified successfully
The above method is invalid after setting
Find... In the environment variable IEDA_VM_OPTIONS Find the value of the variable , Copy 
Locate the file in file explorer and open , Modify the parameters again , Restart after idea that will do
边栏推荐
猜你喜欢

PostgreSQL 出现cross-database references are not implemented的bug

Runtimeerror in yolox: dataloader worker (PID (s) 17724, 1364, 18928) exited unexpectedly

MySQL复习资料(附加)case when

Influence of air resistance on the trajectory of table tennis

技术:如何设计zkVM电路

Distributed ID solution
![[FPGA mathematical formula] use FPGA to realize common mathematical formulas](/img/b9/e6f219738b106a96b0f5323ee61cca.png)
[FPGA mathematical formula] use FPGA to realize common mathematical formulas

SqlServer如何查询除去整列字段为null的结果

Technology cloud report: side B of mixed office: how to have both security and efficiency?

leetcode - 295. Median data flow
随机推荐
Emotional changes need to be controlled
Data statistical analysis (SPSS) [7]
Data collection and management [6]
Build a simple website by yourself
Does cdc2.2.1 not support postgresql14.1? Based on the pgbouncer connection mode, with 5433
【Laravel系列8】走出 Laravel 的世界
Microsecond TCP timestamp
Remote connection of raspberry pie in VNC Viewer Mode
Data statistical analysis (SPSS) [5]
Webassembly learning - dynamic linking
PATH 与 LD_LIBRARY_PATH 的用法举例
Libuv library overview and comparison of libevent, libev and libuv (Reprint)
String不同创建方式的区别
多机局域网办公神器 rustdesk 使用强推!!!
Yangzhou needs one English IT Helpdesk Engineer -20220216
SQL 数据记录如何上下行合并
C language -- branch structure
Black screen and error reporting when loading custom models for gazebo with roslaunch
在命令行登录mysql数据库以及查看版本号
为什么说测试岗位是巨坑?8年测试人告诉你千万别上当