Quantcast
Channel: Intel® Software - Intel® Fortran Compiler for Linux* and macOS*
Viewing all articles
Browse latest Browse all 2746

How to prevent the Heap memory from exhaust ?

$
0
0

Hi all, 

Sorry if this is a side topic compared to this forum main scope, but I hope couple of us will benefit from it :

What is the best practice (in Fortran-90) to prevent the heap memory from exhaust (in Linux) ? In general, what is the best practice ''memory model'' when coding an average code (in complexity and size) in Fortran-90, are there any special guidelines ? For instance, I have read that using multiple times a subroutine which allocates / deallocates local arrays can exhaust the memory. I currently experience heap exhaustion in my code and I'm not sure how to tackle it.

Thanks in advance for your comments,

Jack. 


Viewing all articles
Browse latest Browse all 2746

Trending Articles



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