Operating System - HP-UX
1827791 Members
2453 Online
109969 Solutions
New Discussion

FORTRAN Runtime ERROR:memroy allocation failed

 
Sunil Thomas_3
New Member

FORTRAN Runtime ERROR:memroy allocation failed

get this error while running a programmed larger than 2GB and retruns. even though the system is having 10gb memory it doesnot allocate more than 4 gb. if anybody knows a solution pls reply.

For Small programs less then 5 Gb # mamory = -1789029796

FORTRAN Runtime ERROR:
Memory allocation failed
Warning: Entry/Exit code is optimized. Cannot restore context (UNWIND
22)
Stack_Trace: error while unwinding stack
( 0) 0x400000000007541c f90$alloc + 0x584
2 REPLIES 2
Jeroen Peereboom
Honored Contributor

Re: FORTRAN Runtime ERROR:memroy allocation failed

either a programming error or a kernel parameter (maxdsiz?) too small. Do you declare large arrays or so?

What do you mean:
For Small programs less then 5 Gb # mamory = -1789029796

JP.
Sunil Thomas_3
New Member

Re: FORTRAN Runtime ERROR:memroy allocation failed


For Small programs less then 5 Gb # mamory = -1789029796
The above message comes during the termination of programme itself

I h'v not specified it nowhere

regards

Sunil Thomas