mallinfo equivalent available ?

mallinfo equivalent available ?

Hi,

I'm looking for a way to measure memory usage from within my fortran program.

On one system I've been able to call mallinfo (libc) to get what I needed, but is there an easy way with ifc/ifort ?

Currently I use a system call to 'ps -o vsz -p pid' which is really too slow and not convenient.

Thanks,

Joost

1 post / 0 new
For more complete information about compiler optimizations, see our Optimization Notice.