当前位置:网站首页>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=1000Final 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 .
边栏推荐
- Ros2 - function package (VI)
- PHY drive commissioning --- mdio/mdc interface Clause 22 and 45 (I)
- SD_CMD_RECEIVE_SHIFT_REGISTER
- Target detection series - detailed explanation of the principle of fast r-cnn
- Ros2 topic (VIII)
- [idea] efficient plug-in save actions to improve your work efficiency
- iNFTnews | 喝茶送虚拟股票?浅析奈雪的茶“发币”
- 氢氧化钠是什么?
- [node] NVM version management tool
- Delayqueue usage and scenarios of delay queue
猜你喜欢

Steps and FAQs of connecting windows Navicat to Alibaba cloud server MySQL

The problem of configuring opencv in qt5.13.2 is solved in detail

iNFTnews | 喝茶送虚拟股票?浅析奈雪的茶“发币”
![[idea] efficient plug-in save actions to improve your work efficiency](/img/6e/49037333964865d9900ddf5698f7e6.jpg)
[idea] efficient plug-in save actions to improve your work efficiency

Matrix and TMB package version issues in R

Rough notes of C language (2) -- constants

Mipi interface, DVP interface and CSI interface of camera

What if the DataGrid cannot see the table after connecting to the database

Tshydro tool

Jenkins reported an error. Illegal character: '\ufeff'. Class, interface or enum are required
随机推荐
Using GEE plug-in in QGIS
Application of MATLAB in Linear Algebra (4): similar matrix and quadratic form
Machine learning Seaborn visualization
[node] differences among NPM, yarn and pnpm
[software testing] 04 -- software testing and software development
目标检测系列——Faster R-CNN原理详解
docker安装mysql并使用navicat连接
Ros2 - Service Service (IX)
arcpy. SpatialJoin_ Analysis spatial connection analysis
Tshydro tool
HDU1232 畅通工程(并查集)
R language learning notes 1
U-boot initialization and workflow analysis
【软件测试】05 -- 软件测试的原则
数学分析_笔记_第8章:重积分
Inftnews | drink tea and send virtual stocks? Analysis of Naixue's tea "coin issuance"
Lexin interview process
1290_ Implementation analysis of prvtaskistasksuspended() interface in FreeRTOS
(tool use) how to make the system automatically match and associate to database fields by importing MySQL from idea and writing SQL statements
[software testing] 06 -- basic process of software testing