Quantcast
Channel: Intel® Software - Intel® Visual Fortran Compiler for Windows*
Viewing all articles
Browse latest Browse all 5691

Memory leak

$
0
0

Hi all.

My company is considering migrating to IVF from Compaq Compiler.

I'm now testing the trial version of Intel Parallel Studio XE and I've run into a problem with the memory consumption of one of our programs.

The program is an old Fortran code, with static arrais, so the memory is set at the begining of the execution and it should not grow during the run.

This is the behaviour we have observed in several compilers and different OS's ( DEC-alpha, HP.UX, Lahey or Compaq compilers under Windows).

the fact is that when compiled with IVF the system available memory decreases uniformly at a rate of 3MB/s, leading eventually to use all available memory.

Debugging the code I've identified that the "paged pool" (in Process Explorer) raises in blocks of 4KB, and I managed to associate one of these steps to the following write sentence:

     real*8 alf(1)

     character wrd*8

....

     write (wrd,787)alf(i)

787 format(a8)

alf is EQUIVALENCE'd to a big static array and wrd obtains the expected value in that sentence.

I've tried many diffenrent compiler options but no success.

Does anybody know how to solve this issue?

Thanks in advance

M.Martin


Viewing all articles
Browse latest Browse all 5691

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>