已开启
不能释放不连续的内存 #47
AtomGit-Bot创建于 2023年11月21日
2023年11月21日 创建了缺陷
openeuler-ci-bot
2023年11月21日 评论:
2023年11月21日 评论:
Hi brucema78, welcome to the openEuler Community.
I'm the Bot here serving you. You can find the instructions on how to interact with me at Here.
If you have any questions, please contact the SIG: Computing, and any of the maintainers: @yang_yanchao , @liqingqing_1229 , @SuperSix173 , @wswsamao , @wangbin224 , @juyin


2023年11月21日 添加了
sig/Computing
标签
2023年11月21日 修改了描述
2023年11月21日 修改了描述
2023年11月21日 修改了描述
2023年11月21日 修改了描述
liqingqing_1229
2023年12月12日 评论:
2023年12月12日 评论:
看上游社区,该问题应该没有持续投入,建议先持续跟踪。


2023年12月12日 将任务状态从 待办的 修改为已挂起
【标题描述】不能释放不连续的内存
一、缺陷信息
不能释放不连续的内存
内核信息:
4.19.90-2112.8.0.0131.oe1.x86_64
缺陷归属组件:
glibc-2.28-97.oe1.x86_64
缺陷归属的版本:
openEuler 20.03 (LTS-SP3)
缺陷简述:
根据sourceware描述,运行例程后,在进程运行free()后,进程仍会增加约4k内存使用量.
【环境信息】
硬件信息
软件信息
openEuler 20.03 (LTS-SP3)
glibc-2.28-97.oe1.x86_64
网络信息
【问题复现步骤】,请描述具体的操作步骤
运行示例程序后,进程内存使用量会增加4k(VmRSS)
【实际结果】,请描述出问题的结果和影响
在示例程序中添加循环,每次循环后,进程占用内存,在free()后,不会归还给内核.
【其他相关附件信息】
比如系统message日志/组件日志、dump信息、图片等
缺陷详情参考链接:
https://sourceware.org/bugzilla/show_bug.cgi?id=15321
示例程序:
https://sourceware.org/bugzilla/attachment.cgi?id=10003
缺陷分析指导链接:
https:xxx