views:

205

answers:

2

What are the various mechanisms using which we can detect if a process execution is leading to memory fragmentation?

Are there any tools available for the same? Suggestion for tools which work with 'C' code and can run on Windows, Linux and VxWorks will be helpful.

+1  A: 

Just as a suggestion, you may want to try Valgrind. I'm not certain it's what you're looking for, but it may come in handy.

http://valgrind.org/

Dean Pucsek
+1  A: 

There is a maxfreeblocksize in vxworks, if it keeps gettin lower and lower its an indication its getting fragmented

c bee