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

total memory allocation inquire

pierangelo_f_
Beginner
555 Views

Hi all,

I have a question: it's possible to know how much memory my program allocated?

(I have a big program with the memory allocation done in many subroutines and I would like to know how much memory I allocated before to do a new memory allocation).

Thanks, pierangelo

0 Kudos
1 Reply
Steven_L_Intel1
Employee
555 Views
The Win32 Process Status API (PSAPI) can provide this information, though it may not tell you how much more memory you can allocate. See the Win32>ProcessStatus sample for code that displays memory usage information for processes.
0 Kudos
Reply