firemodels / fds

Fire Dynamics Simulator
https://pages.nist.gov/fds-smv/
Other
674 stars 626 forks source link

Virtual memory #371

Closed gforney closed 9 years ago

gforney commented 9 years ago
Please complete the following lines...

Application Version: 5.1.0 serial
SVN Revision Number:1162
Compile Date: Tues 08 Jan 2008
Operating System: Win xp

Describe details of the issue below:

The error comes out like this
Fire Dynamics Simulator

 Compilation Date : Tue, 08 Jan 2008
 Version          : 5.1.0 Serial
 SVN Revision No. : 1162

 Job TITLE        : 3.6m Model
 Job ID string    : scen_1

forrtl: severe (41): insufficient virtual memory
Image              PC        Routine            Line        Source
fds5.exe           00689A5A  Unknown               Unknown  Unknown
fds5.exe           00687309  Unknown               Unknown  Unknown
fds5.exe           00633F46  Unknown               Unknown  Unknown
fds5.exe           006079EF  Unknown               Unknown  Unknown
fds5.exe           00426E9D  Unknown               Unknown  Unknown

This model is working well before some obstruction height is raise 0.5m.
After that it keeps showing this error at t=35s. the attach is the source
code and task manager when this error occurs. Please advice.

Original issue reported on code.google.com by kokleong2 on 2008-06-26 03:25:58


gforney commented 9 years ago
After setting RESTART=.FALSE., the input file works on my laptop. However, I am 
using a newer version. Try the case again with FDS 5.1.6. How much memory does your

machine have? I think that the message indicates that you do not have enough.

Original issue reported on code.google.com by mcgratta on 2008-06-26 12:20:16

gforney commented 9 years ago
Hi Mc, My machine have 3GB of RAM. The model could be run until 35sec. After that the
error only occurs. I'll try the later version.

Original issue reported on code.google.com by kokleong2 on 2008-06-27 01:27:55

gforney commented 9 years ago
I have try the later version. but the error shows after 25sec.

 Fire Dynamics Simulator

 Compilation Date : Sat, 10 May 2008
 Version          : 5.1.6 Serial
 SVN Revision No. : 1673

 Job TITLE        : PSA 3.6m Model
 Job ID string    : scen_1

 Time Step:      1,    Simulation Time:      0.11 s
 Time Step:      2,    Simulation Time:      0.23 s
 Time Step:      3,    Simulation Time:      0.23 s
 Time Step:      4,    Simulation Time:      0.34 s
 Time Step:      5,    Simulation Time:      0.42 s
 Time Step:      6,    Simulation Time:      0.51 s
 Time Step:      7,    Simulation Time:      0.59 s
 Time Step:      8,    Simulation Time:      0.67 s
 Time Step:      9,    Simulation Time:      0.74 s
 Time Step:     10,    Simulation Time:      0.81 s
 Time Step:     20,    Simulation Time:      1.39 s
 Time Step:     30,    Simulation Time:      1.91 s
 Time Step:     40,    Simulation Time:      2.38 s
 Time Step:     50,    Simulation Time:      2.80 s
 Time Step:     60,    Simulation Time:      3.27 s
 Time Step:     70,    Simulation Time:      3.70 s
 Time Step:     80,    Simulation Time:      4.12 s
 Time Step:     90,    Simulation Time:      4.50 s
 Time Step:    100,    Simulation Time:      4.91 s
 Time Step:    200,    Simulation Time:      8.86 s
 Time Step:    300,    Simulation Time:     12.77 s
 Time Step:    400,    Simulation Time:     16.84 s
 Time Step:    500,    Simulation Time:     20.84 s
 Time Step:    600,    Simulation Time:     24.91 s
 Time Step:    700,    Simulation Time:     28.90 s
forrtl: severe (41): insufficient virtual memory
Image              PC        Routine            Line        Source
fds_5.1.6_win32.e  006C4C6A  Unknown               Unknown  Unknown
fds_5.1.6_win32.e  006C2525  Unknown               Unknown  Unknown
fds_5.1.6_win32.e  00664820  Unknown               Unknown  Unknown
fds_5.1.6_win32.e  006367C9  Unknown               Unknown  Unknown
fds_5.1.6_win32.e  00429D93  Unknown               Unknown  Unknown

Stack trace terminated abnormally.

Original issue reported on code.google.com by kokleong2 on 2008-06-27 04:36:20

gforney commented 9 years ago
It appears that you do not have enough memory (RAM) to run this case. I suggest you

try the parallel version. How much RAM do you have?

Original issue reported on code.google.com by mcgratta on 2008-06-27 11:55:35

gforney commented 9 years ago
Ran this on one of my PCs with 3 Gb of RAM with the 2GB boot option enableed (limits

RAM reserved for the OS) After startup Task Manager showed it was using ~1.2 Gb of

RAM.  At ~25 s it died with the memory error.  

Original issue reported on code.google.com by drjfloyd on 2008-06-27 19:31:02

gforney commented 9 years ago
14610 mcgratta  20   0 1465m 1.3g 2944 R  100 66.0  45:14.30 fds_5.1.6_linux

On my Linux machine, I've run beyond 25 s. The job is using 1465 MB VIRT -- which I

assume is virtual memory. This is 66% of the RAM. I looked at the .out file and 
noticed alot of Lagrangian particles. The first thing I would do is get rid of them.

Original issue reported on code.google.com by mcgratta on 2008-06-27 20:23:29

gforney commented 9 years ago
14610 mcgratta  20   0 1520m 1.4g 2944 R  100 68.7  66:33.11 fds_5.1.6_linux

The job is still running past 40 s, and the memory is still increasing as more 
particles are added. I'm going to stop the case. Run without particles and tell us

if the case finishes.

Original issue reported on code.google.com by mcgratta on 2008-06-27 20:43:56

gforney commented 9 years ago
it could run till 900s.

Original issue reported on code.google.com by kokleong2 on 2008-07-01 02:49:39

gforney commented 9 years ago
I assume that this solves the problem.

Original issue reported on code.google.com by mcgratta on 2008-07-01 11:57:47

gforney commented 9 years ago
Ya. It is. Problem solve

Original issue reported on code.google.com by kokleong2 on 2008-07-07 03:03:06