- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
i came across a strange behavior i can not understand.
i have a application using 767660K virtual memory (according to the task manager). I would like to open a file using the following statement:
open( 10,file=..., access="direct",recl=192690800,action="read")
At this statement the programm stops showing the error:
forrtl: severe(41): insufficient virtual memory
Does a open statement need any additional memory?
I have the following pc configuration
WIN XP Prof
2GByte RAM
IVF 10....26
VS2005 German
thanks in advance for any help.
Frank
i came across a strange behavior i can not understand.
i have a application using 767660K virtual memory (according to the task manager). I would like to open a file using the following statement:
open( 10,file=..., access="direct",recl=192690800,action="read")
At this statement the programm stops showing the error:
forrtl: severe(41): insufficient virtual memory
Does a open statement need any additional memory?
I have the following pc configuration
WIN XP Prof
2GByte RAM
IVF 10....26
VS2005 German
thanks in advance for any help.
Frank
Link Copied
3 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Yes, OPEN, and many other run-time functions, grab a little more dynamic memory (maybe a great deal, for such an abnormally large recl value).
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks for the information.
what size of memory is needed? How can i calculate the needed size?
Thanks in advance
Frank
what size of memory is needed? How can i calculate the needed size?
Thanks in advance
Frank
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
The RTL allocates a buffer the size of the record specified, which for an unformatted file is RECL*4, unless you also set /assume:byterecl.

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