当前位置:网站首页>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 .
边栏推荐
- What does soda ash do?
- 氫氧化鈉是什麼?
- Typescript get timestamp
- Mathematical analysis_ Notes_ Chapter 8: multiple integral
- The problem of configuring opencv in qt5.13.2 is solved in detail
- 现在有html文件,和用vs制作的mvc(连接了数据库),怎么两个相连?
- 并查集理论讲解和代码实现
- Implementation of one-dimensional convolutional neural network CNN based on FPGA (VIII) implementation of activation layer
- Ros2 topic (VIII)
- 【idea】Could not autowire. No beans of xxx type found
猜你喜欢
1290_ Implementation analysis of prvtaskistasksuspended() interface in FreeRTOS
并发编程 — 死锁排查及处理
The problem of configuring opencv in qt5.13.2 is solved in detail
SD_CMD_RECEIVE_SHIFT_REGISTER
Mipi interface, DVP interface and CSI interface of camera
[untitled]
M2DGR 多源多场景 地面机器人SLAM数据集
Logical structure and physical structure
Machine learning Seaborn visualization
Hdu1232 unimpeded project (and collection)
随机推荐
The golang timer uses the stepped pit: the timer is executed once a day
Ros2 - Service Service (IX)
Logical structure and physical structure
Ros2 - install ros2 (III)
Raspberry pie 4B arm platform aarch64 PIP installation pytorch
Course learning accumulation ppt
SD_ CMD_ RECEIVE_ SHIFT_ REGISTER
【软件测试】03 -- 软件测试概述
ModuleNotFoundError: No module named ‘picamera‘
现在有html文件,和用vs制作的mvc(连接了数据库),怎么两个相连?
How can Oracle SQL statements modify fields that are not allowed to be null to allow nulls?
HDU1232 畅通工程(并查集)
PHY drive commissioning - phy controller drive (II)
Database SQL practice 4. Find the last of employees in all assigned departments_ Name and first_ name
[framework] multi learner
Ros2 - ros2 vs. ros1 (II)
Implementation of one-dimensional convolutional neural network CNN based on FPGA (VIII) implementation of activation layer
The difference between new and malloc
氢氧化钠是什么?
PostMessage communication