Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.

mallinfo equivalent available ?

jv244
Beginner
1,083 Views
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
0 Kudos
0 Replies
Reply