Quantcast
Channel: Intel® Fortran Compiler
Viewing all articles
Browse latest Browse all 3270

Memory not released after DEALLOCATE

$
0
0

 I am working as a software developer in a company with a code based on FORTRAN 90. Recently we have found that code was failing with lack of enough memory at some stage of the run. Tests have shown that using the "Deallocate" makes the pointers used "unassociated", but for some pointers the memory is not released. This could be a large amount causing the code to crash eventually. The situation becomes worse as we are allocating and deallocating the same pointers several times during the runtime. For some pointer we can see that during the "allocate" memory usage increases, but it doesn't decrease by using "deallocate"!
We are using Intel 13.1 at the moment.
I will appreciate greatly if I hear your comments and advice as to how to tackle the problem?

Thanks,

Alireza

 


Viewing all articles
Browse latest Browse all 3270

Latest Images

Trending Articles



Latest Images

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