当前位置:网站首页>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 .
边栏推荐
- Today, share the wonderful and beautiful theme of idea + website address
- Typescript get timestamp
- 氫氧化鈉是什麼?
- Unconventional ending disconnected from the target VM, address: '127.0.0.1:62635', transport: 'socket‘
- 一文揭开,测试外包公司的真实情况
- Implementation of one-dimensional convolutional neural network CNN based on FPGA (VIII) implementation of activation layer
- 【idea】Could not autowire. No beans of xxx type found
- Target detection series - detailed explanation of the principle of fast r-cnn
- 目标检测系列——Faster R-CNN原理详解
- The golang timer uses the stepped pit: the timer is executed once a day
猜你喜欢
Docker installs MySQL and uses Navicat to connect
Steps and FAQs of connecting windows Navicat to Alibaba cloud server MySQL
HDU1232 畅通工程(并查集)
U-boot initialization and workflow analysis
Ros2 topic (VIII)
Today, share the wonderful and beautiful theme of idea + website address
[software testing] 04 -- software testing and software development
Literacy Ethernet MII interface types Daquan MII, RMII, smii, gmii, rgmii, sgmii, XGMII, XAUI, rxaui
Delayqueue usage and scenarios of delay queue
Light up the running light, rough notes for beginners (1)
随机推荐
并发编程 — 死锁排查及处理
Hdu1232 unimpeded project (and collection)
SD_ CMD_ SEND_ SHIFT_ REGISTER
1290_ Implementation analysis of prvtaskistasksuspended() interface in FreeRTOS
Unity UGUI不同的UI面板或者UI之间如何进行坐标匹配和变换
What is sodium hydroxide?
2022.06.27_ One question per day
1290_FreeRTOS中prvTaskIsTaskSuspended()接口实现分析
Application of MATLAB in Linear Algebra (4): similar matrix and quadratic form
Machine learning Seaborn visualization
[solved] there is something wrong with the image
你心目中的数据分析 Top 1 选 Pandas 还是选 SQL?
And play the little chestnut of dynamic agent
现在有html文件,和用vs制作的mvc(连接了数据库),怎么两个相连?
Implementation of one-dimensional convolutional neural network CNN based on FPGA (VIII) implementation of activation layer
目标检测系列——Faster R-CNN原理详解
2022.06.27_每日一题
[node] NVM version management tool
What is soda?
PowerManagerService(一)— 初始化