Pascal Georges wrote:
>
>     We all should ignore your remark above: Memory is not consumed because
>     of fragmentation.
>
>
> Ignore my remark if you want to (I love the kind of wording "We all 
> should ignore your remark above"), but I confirm that the memory used 
> (reported as virtual memory used by a process) increases due to memory 
> fragmentation. After a while the holes in memory slots tend to cease 
> their increase, because the allocation algorithm manages to reuse 
> them. Look at differences in Tcl alogrithm and glibc sources to 
> understand the differences.

"As reported (by the OS) in use by a process..." Certainly you are right.

But I do not look at that, as it does not ring the bell. Instead, I 
link-in a simple heap space reporter library between the application and 
any malloc/free/new/delete etc operation (hacked it myself, if you are 
interested, I will send it to you). So I rather monitor what memory the 
application claims (and releases) instead of what memory the OS actually 
provides.

Cheers,
Joost.
>
> Pascal


------------------------------------------------------------------------------
Join us December 9, 2009 for the Red Hat Virtual Experience,
a free event focused on virtualization and cloud computing. 
Attend in-depth sessions from your desk. Your couch. Anywhere.
http://p.sf.net/sfu/redhat-sfdev2dev
_______________________________________________
Scid-users mailing list
Scid-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/scid-users

Reply via email to