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

Memory Leaks

bbradley
Beginner
495 Views
A console application I am developing appears to chew up a bit of memory as it goes along, according to the "Mem usage" column in the Windows Task Manager. I got the following results from a 4000 second (elapsed time) run, which processed about 16,000 files.
Time Intel version MS Powerstation 4
Start 7200 k 5976 k
2000 sec7408 82572
40007704 224428
That's right, the MS version was using 224 MB near the end of the run !
So, the 500 k increase in the Intel Fortran version seems like a small amount. This program dynamically allocates only array at start-up, and everything else is static.
My questions are: What is causing this, and how do we eliminate the increases in usage.
0 Kudos
1 Reply
Steven_L_Intel1
Employee
495 Views
Every file you open requires some memory for context. When you close, the memory the language library uses is returned but some OS overhead may remain.

PowerStation is notorious for I/O memory leaks.
0 Kudos
Reply