This is the mail archive of the glibc-bugs@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug malloc/15321] malloc/free can't give the memory back to kernel when main_arena is discontinous


http://sourceware.org/bugzilla/show_bug.cgi?id=15321

--- Comment #2 from Zhanxin.xu <xu.zhanxin at zte dot com.cn> 2013-04-02 09:53:29 UTC ---
(In reply to comment #1)
> Created attachment 6958 [details]
> new testcase
> Could you make it to leak memory repeately?
> I enclosed your test in loop and memory consumption remains stable.

The memory(8k) can be used by itself,so memory exhausted not occur in loop.

[@localhost t-arena]$ cat /proc/22652/smaps |grep Rss
Rss:                 88 kB
Rss:                  4 kB
Rss:                  4 kB
Rss:                192 kB
Rss:                  0 kB
Rss:                  8 kB
Rss:                  4 kB
Rss:                 12 kB
Rss:                  4 kB
Rss:                  4 kB
Rss:                  4 kB
Rss:               5028 kB   /* can't free */
Rss:                  0 kB
Rss:               3208 kB   /* can't free */
Rss:                  4 kB
Rss:                  8 kB

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]