当前位置:网站首页>怎么样避免线上内存泄漏
怎么样避免线上内存泄漏
2022-08-05 05:55:00 【shuangrenlong】
很多线上爆出的内存泄漏日志是这个点oom了。可能很早就已经内存泄漏了。只是在这里oom
如何降低内存泄漏
1.上线之前需要leakcanary反复测试
2.上线之前需要反复monkey测试
3.需要打印用户行为日志,从哪个界面进入哪个界面.知道是哪几个界面然后线下复现用户的行为
4.可行的办法,模仿leakcanary写一个日志系统,爆出内存的日志上传到服务器。然后分析定位
边栏推荐
- 如何将.asd恢复为Word文档
- Come, come, let you understand how Cocos Creator reads and writes JSON files
- Chengyun Technology was invited to attend the 2022 Alibaba Cloud Partner Conference and won the "Gathering Strength and Going Far" Award
- 关于Antd的Affix突然不好用了,或者Window的scroll监听不好用了
- 盒子模型大详解
- Get the network input dimensions of the pretrained model
- 前置++和后置++的区别
- NB-IOT智能云家具项目系列实站
- NACOS Configuration Center Settings Profile
- 深夜小酌,50道经典SQL题,真香~
猜你喜欢
随机推荐
Late night drinking, 50 classic SQL questions, really fragrant~
农场游戏果园系统+牧场养殖系统+广告联盟模式流量主游戏小程序APP V1
【5】Docker中部署MySQL
GetEnumerator method and MoveNext and Reset methods in Unity
The 25 best free games on mobile in 2020
Nacos cluster construction
Q 2020, the latest senior interview Laya soul, do you know?
八大排序之快速排序
Nacos集群搭建
lingo入门——河北省第三届研究生建模竞赛B题
MyCat安装
Successful indie developers deal with failure & imposters
Writing OpenCV in VSCode
Tips for formatting code indentation
Pytorch distributed parallel processing
Unable to import torchvision. IO. Read_image
矩阵的构造
document.querySelector()方法
D39_Vector
Get the network input dimensions of the pretrained model