- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi !
I have a FORTRAN 77 code which compiles (using Compaq Visual FORTRAN 6.5) to a 1.2 MB exe file (as the release version). The program has been configured as a console application in MS developer studio and reads an input file and generates an output file. I need to run this program in a loop up to at least 15x6x45 = 4050 times with different input files. I notice that when the loop is running, the system response degrades over time. I believe this is due to a memory leak. This is confirmed by using the System Monitor which comes with the MS Windows 98 system on which I am working. The locked memory steadily goes up and free memory gets eaten away. How do I make my FORTRAN program to release all memory when it exits every time?
I have a FORTRAN 77 code which compiles (using Compaq Visual FORTRAN 6.5) to a 1.2 MB exe file (as the release version). The program has been configured as a console application in MS developer studio and reads an input file and generates an output file. I need to run this program in a loop up to at least 15x6x45 = 4050 times with different input files. I notice that when the loop is running, the system response degrades over time. I believe this is due to a memory leak. This is confirmed by using the System Monitor which comes with the MS Windows 98 system on which I am working. The locked memory steadily goes up and free memory gets eaten away. How do I make my FORTRAN program to release all memory when it exits every time?
Link Copied
0 Replies

Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page