Re: [sample] mem_notify v6: usage example

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: KOSAKI Motohiro
Date: Monday, February 11, 2008 - 11:37 am

Hi Andreas,

Thank you very good comment.


Yes, no guarantee.
but current glibc-malloc very frequently return memory to kernel.

glibc default behavior

1. over 1M memory: return memory just free(3)  called.
    (you can change threshold by MALLOC_MMAP_MAX_ environment)
2. more lower:         return memory when exist continuous 128k at heap tail.
    (you can change threashold by MALLOC_TRIM_THRESHOLD_ environment)

if you know very memory consumption by already freed memory situation,
please tell me situation detail and consumption memory size.


Agreed.
if large consumption situation exist, I'm behind you.


Thanks!
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[sample] mem_notify v6: usage example, KOSAKI Motohiro, (Sat Feb 9, 8:55 am)
Re: [sample] mem_notify v6: usage example, Jon Masters, (Sat Feb 9, 9:07 am)
Re: [sample] mem_notify v6: usage example, KOSAKI Motohiro, (Sat Feb 9, 9:46 am)
Re: [sample] mem_notify v6: usage example, Pavel Machek, (Sat Feb 9, 6:30 pm)
Re: [sample] mem_notify v6: usage example, Andreas Dilger, (Mon Feb 11, 11:15 am)
Re: [sample] mem_notify v6: usage example, KOSAKI Motohiro, (Mon Feb 11, 11:37 am)