当前位置:网站首页>How to deal with excessive memory occupation of idea and Google browser
How to deal with excessive memory occupation of idea and Google browser
2022-07-05 07:19:00 【jiankang66】
One 、 background
Recently, there are too many browser pages on the computer at home , Heavy memory usage , and idea Starting a project will fill the memory , Finally, I checked some information and successfully solved this problem . Here is a record of , Convenient for direct use later .
Two 、 resolvent
For the problem that Google browser takes up too much memory , Because Chrome Using a multi process mechanism , every last Chrome And every extension , It's all independent processes . Downloaded OneTab plug-in unit , This plug-in can convert all viewed pages into lists , It was cleaned out in memory , but OneTab Keep a record of these tabs . When you want to revisit these tags , Can pass OneTab Re open , Every time you click the plug-in , All pages will be converted into lists , Which page do you need to continue reading , Click to open , It can solve the problem that too many pages open and consume too much memory .
Download address :one-tab.com/
idea Open project memory too high , It can be modified idea Configured jvm Parameters , adopt everything The finder finds the configuration file . Change it idea.exe.vmoptions and idea64.exe.vmoptions file .
Mainly modify the following parameters , My computer is 8g Memory .
(1) Set the minimum heap value to 1G
-Xms1024m
(2) Set heap maximum to 2G
-Xmx2048m
(3) Set the size of the code cache to 256m, and jvm Compiled code is often stored in Code Cache in , and Code Cache Space and memory support jvm Normal operation of , If the space is insufficient jvm The virtual machine will have problems , And the performance continues to decline .
-XX:ReservedCodeCacheSize=256m
(4) Set up SoftRefLRUPolicyMSPerMB The value is 1000, This parameter means every 1M Free space can be maintained SoftReference The lifetime of the object ( The unit is ms millisecond )
-XX:SoftRefLRUPolicyMSPerMB=1000
Final idea The configuration is as follows .
3、 ... and 、 summary
So that's the solution idea And Google Chrome takes up too much memory to process all content , It mainly involves several simple jvm Parameter tuning , I hope I can help you , Refer to , If you think it's good , Welcome to wechat search java Basic notes , Relevant knowledge will be continuously updated later , Make progress together .
边栏推荐
- 并查集理论讲解和代码实现
- [software testing] 03 -- overview of software testing
- R language learning notes 1
- IPage能正常显示数据,但是total一直等于0
- Delayqueue usage and scenarios of delay queue
- Database SQL practice 3. Find the current salary details of the current leaders of each department and their corresponding department number Dept_ no
- Docker installs MySQL and uses Navicat to connect
- Matrix and TMB package version issues in R
- [idea] efficient plug-in save actions to improve your work efficiency
- 2022年PMP项目管理考试敏捷知识点(7)
猜你喜欢
postmessage通信
【软件测试】02 -- 软件缺陷管理
window navicat连接阿里云服务器mysql步骤及常见问题
SOC_SD_CMD_FSM
The problem of configuring opencv in qt5.13.2 is solved in detail
Powermanagerservice (I) - initialization
[node] NVM version management tool
Ros2 topic (VIII)
Docker installs MySQL and uses Navicat to connect
Hdu1232 unimpeded project (and collection)
随机推荐
[OBS] x264 Code: "buffer_size“
Executealways of unity is replacing executeineditmode
氢氧化钠是什么?
HDU1232 畅通工程(并查集)
(tool use) how to make the system automatically match and associate to database fields by importing MySQL from idea and writing SQL statements
Import CV2, prompt importerror: libcblas so. 3: cannot open shared object file: No such file or directory
DelayQueue延迟队列的使用和场景
611. 有效三角形的个数
Ros2 topic (VIII)
[software testing] 03 -- overview of software testing
Database SQL practice 3. Find the current salary details of the current leaders of each department and their corresponding department number Dept_ no
[vscode] search using regular expressions
SOC_ SD_ CMD_ FSM
R language learning notes 1
PowerManagerService(一)— 初始化
MySQL setting trigger problem
[node] NVM version management tool
ModuleNotFoundError: No module named ‘picamera‘
【软件测试】06 -- 软件测试的基本流程
Course learning accumulation ppt