当前位置:网站首页>怎么样避免线上内存泄漏
怎么样避免线上内存泄漏
2022-08-05 05:55:00 【shuangrenlong】
很多线上爆出的内存泄漏日志是这个点oom了。可能很早就已经内存泄漏了。只是在这里oom
如何降低内存泄漏
1.上线之前需要leakcanary反复测试
2.上线之前需要反复monkey测试
3.需要打印用户行为日志,从哪个界面进入哪个界面.知道是哪几个界面然后线下复现用户的行为
4.可行的办法,模仿leakcanary写一个日志系统,爆出内存的日志上传到服务器。然后分析定位
边栏推荐
猜你喜欢
随机推荐
MySQL表操作练习
GetEnumerator method and MoveNext and Reset methods in Unity
numpy.random usage documentation
如何将.asd恢复为Word文档
记录vue-页面缓存问题
LaTeX笔记
HelloWorld
LaTeX image captioning text column automatic line wrapping
D39_Eulerian Angles and Quaternions
Pytorch分布式并行处理
cs231n learning record
LaTeX 图片加标题 文本分栏自动换行
NB-IOT智能云家具项目系列实站
LeetCode practice and self-comprehension record (1)
FPGA解析B码----连载4
reduce()方法的学习和整理
数组&的运算
农场游戏果园系统+牧场养殖系统+广告联盟模式流量主游戏小程序APP V1
The 25 best free games on mobile in 2020
【FAQ】CCAPI兼容EOS相机列表(2022年8月 更新)









