Programming Techniques: Dynamic Memory Allocation in FORTRAN
Andrew G. Tallin
Abstract
Andrew G. Tallin
Abstract
In programs coded in FORTRAN working arrays are often used for dynamic storage. For large programming projects, bugs are often caused by poor tracking of the usage of these arrays. This note presents some ideas on how memory use can be tracked and presents in detail the steps in developing one memory tracking system. This memory management system uses linked lists to track both free and allocated memory. This system can de-allocate and re-use memory.
A significance statement is not available in the OpenAlex record.
A contribution statement is not available in the OpenAlex record.
Method details are not available in the OpenAlex metadata.
Findings are not separately available in the OpenAlex metadata.
Limitations are not available in the OpenAlex metadata.
Application details are not available in the OpenAlex metadata.
In programs coded in FORTRAN working arrays are often used for dynamic storage. For large programming projects, bugs are often caused by poor tracking of the usage of these arrays. This note presents some ideas on how memory use can be tracked and presents in detail the steps in developing one memory tracking system. This memory management system uses linked lists to track both free and allocated memory. This system can de-allocate and re-use memory.
Key concepts: Fortran, Computer science, C dynamic memory allocation, Memory management, Flat memory model, Memory address, Extended memory, Track (disk drive)