[Bug malloc/14581] glibc leaks memory and do not reuse after free (leading to unlimited RSS growth)
bugdal at aerifal dot cx
sourceware-bugzilla@sourceware.org
Sat Sep 15 14:08:00 GMT 2012
http://sourceware.org/bugzilla/show_bug.cgi?id=14581
--- Comment #5 from Rich Felker <bugdal at aerifal dot cx> 2012-09-15 14:08:25 UTC ---
Created attachment 6634
--> http://sourceware.org/bugzilla/attachment.cgi?id=6634
improved test that reports final heap
This version of the test semi-portably reports the state of the heap after the
fragmentation loop. Most of the gaps are too small to ever be used (natural
fragmentation, but there are a number of larger gaps with sizes in the megabyte
range. I believe they're also just an artifact of normal fragmentation, but I
haven't investigated enough yet to be confident in that claim.
Running the program multiple times with ASLR disabled and different iteration
counts would allow one to diff the output between any iterations N and N+K to
get a clearer idea of what's happening.
I'm still not convinced that memory growth is unbounded, just that
fragmentation is very bad...
--
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.
More information about the Glibc-bugs
mailing list