- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
OS: win2k pro sp3
Complier: up-to-date version of Compaq Fortran
CPU: AMD Athlon 2000XP
Physical Mem: 2G
Virtual Mem setting: 4G
Problem:
I developed a code which will use large memory.
I used Allocate command to allocate the memory I will use. Supposely in win2K pro, each application can use around 1.75G virtual memory. However, I encounter such a case:
Before allocate two large arrays (will use 570M memory), I checked the availble memory and used memory (used mem: 1G, left 700M). Thus there is enough space for the allocation. However, the allocation fails with Run-time error 41, which is no enough virtual memory. Actually the whole usage of memory (plus the allocation of those two large arrys) should be within 1.6G.
Any idea to solve this issue? Thanks.
Complier: up-to-date version of Compaq Fortran
CPU: AMD Athlon 2000XP
Physical Mem: 2G
Virtual Mem setting: 4G
Problem:
I developed a code which will use large memory.
I used Allocate command to allocate the memory I will use. Supposely in win2K pro, each application can use around 1.75G virtual memory. However, I encounter such a case:
Before allocate two large arrays (will use 570M memory), I checked the availble memory and used memory (used mem: 1G, left 700M). Thus there is enough space for the allocation. However, the allocation fails with Run-time error 41, which is no enough virtual memory. Actually the whole usage of memory (plus the allocation of those two large arrys) should be within 1.6G.
Any idea to solve this issue? Thanks.
Link Copied
0 Replies
![](/skins/images/54BF544B471F3F61DFD338F1D58F9426/responsive_peak/images/icon_anonymous_message.png)
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