> "Chanphot T." wrote:
>
> Dear all,
>
> I'm working on a research which developping a general structural
> optimization program.
> The program is writen in FORTRAN90, compiled by Microsoft Fortran
> Powerstation 4.0 and
> working on PC. During the evaluation process, I found that the program
> always use a lot of
> memory espacially on swap file which is sometimes halt by heap space
> limitted exceed (space
> on harddisk is about 1GB). I try to determine what the problem is by
> checking a size of allocated
> memory while the program are executed from system monitor. It seems
> that, when the program
> read data from output text files, the allocated memory will be growing
> up from time to time. The
> text files were generated by a structural analysis program which had
> to be executed more than
> 10,000 times throughout the process. Each time a text file are
> opened and read, the allocated memory
> are increased about 4096 Bytes ( 4KB) or 8 KB. So I have some
> questions to ask as follows;
>
> 1. During reading process, does any memory, apart from memory
> stored by read parameters,
> is required?
> 2. If It is true that READ command required spacial memory, what
> should I do to solve this problem?
> 3. How to check the memory useage by the program?
>
> I really not a expert or a programmer and do not know much about
> programming technique. So, please
> don't be bother with my simply questions.
>
> Thank You,
>
> Chanphot T.
>
> Doctoral student
> School of Civil Engineering
> Asian Institute of Technology
> Thailand
> ([log in to unmask])
MS PowerStation 4.0 has a known memory leak problem involving both
string concatenation
and formatted I/O. This sounds like what is happening to you. There
was a patch file (msfps40a.exe) that is no longer available at the MS
web site. If you need this patch, I may be able to e-mail it to you.
Contact me directly at one of the e-mail addresses below.
--
Jeffrey C. Ryman, Ph. D.
103 Ditman Lane
Oak Ridge, TN 37830-4042
Voice: 865-482-7853
FAX: 865-482-6068
[log in to unmask] (home)
[log in to unmask] (net)
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|