Home
Categories
WIKI
Topic
User
LANGUAGE:
中文
English
[bug反馈] 系统监视器疑似内存泄漏
Experiences and Insight
776
views ·
7
replies ·
To
floor
Go
9136
deepin
2020-08-14 03:18
Author
[问题描述]
打开"系统监视器", 筛选系统监视器, 观察其内存占用, 缓慢增加.
疑似存在内存泄漏问题.
[系统版本]
OS: Deepin 20
Kernel: x86_64 Linux 5.3.0-3-amd64
Uptime: 3h 37m
Packages: 2984
Shell: bash
Resolution: 2720x1024
DE: Deepin 20
WM: KWin
GTK Theme: deepin-dark [GTK2/3]
Icon Theme: bloom
CPU: Intel Core i7-6700 @ 8x 4GHz [27.8°C]
GPU: Mesa DRI Intel(R) HD Graphics 530 (Skylake GT2)
RAM: 5367MiB / 15966MiB
[补充说明]
通过换源从 15.11 升级到 20 版本.
Reply
Like 0
Favorite
View the author
All Replies
9136
deepin
2020-08-14 03:21
#1
此问题在15.11中也存在.
Reply
Like 0
View the author
jingle
deepin
2020-08-14 04:39
#2
https://bbs.deepin.org/user/186258
Reply
Like 0
View the author
9136
deepin
2020-08-14 04:59
#3
本帖最后由 f6d42c04e7b78b78e04b2d86de40c323 于 2020-8-13 21:01 编辑
Reply
Like 0
View the author
9136
deepin
2020-08-14 17:33
#4
2020-08-14 09:31:52
Reply
Like 0
View the author
phoenix520110
deepin
2020-08-15 05:47
#5
不一定是BUG而是本该如是
系统优化可能过于激进
Reply
Like 0
View the author
jingle
deepin
2020-08-17 22:16
#6
进程生命周期从启动到终结由内核生成一堆数据,比较占内存的如环境变量等,如机器短时间内产生大量短命进程(比如编译过程),系统监视器需要将该进程的统计数据全部放入map(包括环境变量字符串的List),画面每刷新一次都会重新生成一组统计,故有两组数据。但目前的实现并未在下一次刷新时检查短命进程是否还存在,对于已终结的进程需要从map中清除。该问题很早之前就已发现,但因后面新需求的缘故,需要稍微再改动架构,把资源统计的逻辑分别放到单独的数据结构中,故暂时未做修改。
内存泄漏是指无法再跟踪的数据结构,而现在的问题是由map结构未及时清空导致(即仍然能跟踪到)。内存泄漏问题早已使用valgrind工具检查过,勿须担心。
Reply
Like 0
View the author
つつ
deepin
2020-08-18 00:14
#7
为什么我运行了一大堆东西依然是3G
Reply
Like 0
View the author
Please
sign
in first
Featured Collection
Change
[Tutorial] deepin25 WSL Offline Installation Guide
UOS AI 2.8 Released! Three New Intelligent Agents & Major Evolution
Solid Q&A | deepin 25 Common Questions – The Immutable System Edition
New Thread
Popular Ranking
Change
Personal Knowledge Assistant
minor bugs I found
Popular Events
More
打开"系统监视器", 筛选系统监视器, 观察其内存占用, 缓慢增加.
疑似存在内存泄漏问题.
[系统版本]
OS: Deepin 20
Kernel: x86_64 Linux 5.3.0-3-amd64
Uptime: 3h 37m
Packages: 2984
Shell: bash
Resolution: 2720x1024
DE: Deepin 20
WM: KWin
GTK Theme: deepin-dark [GTK2/3]
Icon Theme: bloom
CPU: Intel Core i7-6700 @ 8x 4GHz [27.8°C]
GPU: Mesa DRI Intel(R) HD Graphics 530 (Skylake GT2)
RAM: 5367MiB / 15966MiB
[补充说明]
通过换源从 15.11 升级到 20 版本.