当前位置:网站首页>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 .
边栏推荐
- 纯碱是做什么的?
- 数学分析_笔记_第8章:重积分
- Ros2 - install ros2 (III)
- 1290_ Implementation analysis of prvtaskistasksuspended() interface in FreeRTOS
- [software testing] 02 -- software defect management
- R language learning notes 1
- Import CV2, prompt importerror: libcblas so. 3: cannot open shared object file: No such file or directory
- Qu'est - ce que l'hydroxyde de sodium?
- 剑指 Offer 56 数组中数字出现的次数(异或)
- Simple operation of nixie tube (keil5)
猜你喜欢

M2dgr slam data set of multi-source and multi scene ground robot

IPage能正常显示数据,但是total一直等于0

Import CV2 prompt importerror: libgl so. 1: Cannot open shared object file: no such file or directory

Ros2 - ros2 vs. ros1 (II)

Concurrent programming - deadlock troubleshooting and handling

Literacy Ethernet MII interface types Daquan MII, RMII, smii, gmii, rgmii, sgmii, XGMII, XAUI, rxaui

【软件测试】03 -- 软件测试概述

第 2 章:小试牛刀,实现一个简单的Bean容器

玩转gRPC—深入概念与原理

Rough notes of C language (1)
随机推荐
Rough notes of C language (2) -- constants
苏打粉是什么?
postmessage通信
【软件测试】05 -- 软件测试的原则
npm install -g/--save/--save-dev的区别
纯碱是做什么的?
【obs】x264编码:“buffer_size“
Brief description of inux camera (Mipi interface)
Today, share the wonderful and beautiful theme of idea + website address
并查集理论讲解和代码实现
The SQL implementation has multiple records with the same ID, and the latest one is taken
iNFTnews | 喝茶送虚拟股票?浅析奈雪的茶“发币”
【软件测试】03 -- 软件测试概述
1290_ Implementation analysis of prvtaskistasksuspended() interface in FreeRTOS
Negative number storage and type conversion in programs
【软件测试】02 -- 软件缺陷管理
611. 有效三角形的个数
Do you choose pandas or SQL for the top 1 of data analysis in your mind?
Executealways of unity is replacing executeineditmode
SD_ CMD_ RECEIVE_ SHIFT_ REGISTER