Allen Bierbaum wrote:
> Patrick is writing because we are running into an issue with long
> running applications and we are beginning to suspect fragmentation.

[snip]

> that said, as you point out we really want to prove it before trying
> to optimize it.  Unfortunately we haven't found any good tools for
> detecting memory fragmentation and showing it to the user.  Any one
> know of such a tool?

I just noticed that Python 2.6 has a win32.heapmin() that forces the 
malloc-heap to cleanup and return unused blocks to the OS. The C 
function should be there, so that might be something to look at?

I assume unix:es has something similar, although fragementation of the 
system heap is not easily fixed in C++. Much easier in VM languages 
where you can move objects in memory without losing info.

Cheers,
/Marcus

------------------------------------------------------------------------------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
_______________________________________________
Opensg-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensg-users

Reply via email to