[Bug malloc/15321] malloc/free can't give the memory back to kernel when main_arena is discontinous
ma.jiang at zte dot com.cn
sourceware-bugzilla@sourceware.org
Fri Apr 21 07:18:00 GMT 2017
https://sourceware.org/bugzilla/show_bug.cgi?id=15321
--- Comment #7 from ma.jiang at zte dot com.cn ---
Created attachment 10003
--> https://sourceware.org/bugzilla/attachment.cgi?id=10003&action=edit
test_case to show the peak memory usage retain after memory all freed
Hi all,
I have post a test to show the most dangerous impact of the bug(please make
sure you have more than 4G memory). In short, a process may keep the peak
physical memory usage when the bug occurred.
Imagine there were three daemon servers on a 8G-memory machine, the three
guys work for on same data pipeline to provide useful information. Assume each
of them use up to 4G memory, we know they will run happily as they were
designed to work serially. However, if this bug occurred unfortunately , one
of the three could not get enough memory, which lead to OOM or unacceptably
slow swap usage.
--
You are receiving this mail because:
You are on the CC list for the bug.
More information about the Glibc-bugs
mailing list