HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - OpenVMS
- >
- Re: INSVIRMEM Linking fortran
Operating System - OpenVMS
1827757
Members
3002
Online
109969
Solutions
Forums
Categories
Company
Local Language
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
back
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-07-2004 08:25 AM
07-07-2004 08:25 AM
INSVIRMEM Linking fortran
Alpha OpenVMS v7.3-2
780MB RAM
I get the error:
LINK-E-INSVIRMEM insuficient virtual memory for 3625454. pages for cluster DEFAULT_CLUSTER
We've increased the WSEXTENT.
Also the PGFLEQUOTA & pagefile size.
No way.
Is something we can do without reviewing all the code and reducing variables and so on.
Could be possible to use shared images instead a single one ?? Will this save virtual pages ??
Would a memory upgrade be of any help ??
thanks a lot
antonio
780MB RAM
I get the error:
LINK-E-INSVIRMEM insuficient virtual memory for 3625454. pages for cluster DEFAULT_CLUSTER
We've increased the WSEXTENT.
Also the PGFLEQUOTA & pagefile size.
No way.
Is something we can do without reviewing all the code and reducing variables and so on.
Could be possible to use shared images instead a single one ?? Will this save virtual pages ??
Would a memory upgrade be of any help ??
thanks a lot
antonio
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-07-2004 09:02 AM
07-07-2004 09:02 AM
Re: INSVIRMEM Linking fortran
Antonio,
Most likely you have an extremely large statically allocated array.
3625454 pages is more than 27GB. Since it's in the DEFAULT_CLUSTER, the linker will try to put it into P0 space. Remember that P0 space is only 1GB and it has a lot of other stuff in it besides your data. Obviously it just won't fit!
This is a hard, physical limit, so changing quotas or upgrading memory won't help, nor will using shareable images.
Being OpenVMS Alpha, you have plenty of address space, but to use objects that large they must be placed in P2 space. There are a variety of ways to tell Fortran to do this. It may be as simple as finding the the object and giving it the ADDRESS64 attribute. Other options include using LIB$GET_VM_64 to dynamically allocate storage. See the Fortran manuals for more details.
That said, first thing you should check is that the code really needs objects that large. It could be a simple typo adding an extra digit or two to an outer dimension.
If you really are manipulating objects that large, make sure you have sufficient page file space - I'd say at least 36GB, and you'll need a PGFLQUOTA to match.
Most likely you have an extremely large statically allocated array.
3625454 pages is more than 27GB. Since it's in the DEFAULT_CLUSTER, the linker will try to put it into P0 space. Remember that P0 space is only 1GB and it has a lot of other stuff in it besides your data. Obviously it just won't fit!
This is a hard, physical limit, so changing quotas or upgrading memory won't help, nor will using shareable images.
Being OpenVMS Alpha, you have plenty of address space, but to use objects that large they must be placed in P2 space. There are a variety of ways to tell Fortran to do this. It may be as simple as finding the the object and giving it the ADDRESS64 attribute. Other options include using LIB$GET_VM_64 to dynamically allocate storage. See the Fortran manuals for more details.
That said, first thing you should check is that the code really needs objects that large. It could be a simple typo adding an extra digit or two to an outer dimension.
If you really are manipulating objects that large, make sure you have sufficient page file space - I'd say at least 36GB, and you'll need a PGFLQUOTA to match.
A crucible of informative mistakes
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-07-2004 06:52 PM
07-07-2004 06:52 PM
Re: INSVIRMEM Linking fortran
Thanks John.
I've seen an entry in the www.openvms.org forum regarding the pages number shown in the error message. These seem to be pagelets (512bytes) instead of pages (8KB). ??.
Can read that here:
http://www.openvms.org/phorum/read.php?f=5&i=170&t=170
Following this idea, I only need less than 2GB of virtual address. Not too much !!
This may be a problem for the P1 limit you mention.
Any way, I've tryed to put in place a BIG pagefile (like 30GB) & the corresponding PGFLQUOTA without success. The error message text didn't changed, so I think that the message complains about something else, not the pagefile size or quota.
We can't review all the code, but have identified 6 .OBJ modules that trigger the error. I'll look at the ADDRESS64 attribute.
If this can be used without much coding changes, then it can solve my problem.
thanks for your time
antonio
I've seen an entry in the www.openvms.org forum regarding the pages number shown in the error message. These seem to be pagelets (512bytes) instead of pages (8KB). ??.
Can read that here:
http://www.openvms.org/phorum/read.php?f=5&i=170&t=170
Following this idea, I only need less than 2GB of virtual address. Not too much !!
This may be a problem for the P1 limit you mention.
Any way, I've tryed to put in place a BIG pagefile (like 30GB) & the corresponding PGFLQUOTA without success. The error message text didn't changed, so I think that the message complains about something else, not the pagefile size or quota.
We can't review all the code, but have identified 6 .OBJ modules that trigger the error. I'll look at the ADDRESS64 attribute.
If this can be used without much coding changes, then it can solve my problem.
thanks for your time
antonio
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-08-2004 04:49 PM
07-08-2004 04:49 PM
Re: INSVIRMEM Linking fortran
antonio,
P0 is only 1GB in total, so even "only" 2GB simply won't fit! There's a lot of stuff that needs to live in that region that you have no control over. I'd be looking to migrate any data objects larger than (say) 0.1GB out of P0 and into P2 space.
P0 is only 1GB in total, so even "only" 2GB simply won't fit! There's a lot of stuff that needs to live in that region that you have no control over. I'd be looking to migrate any data objects larger than (say) 0.1GB out of P0 and into P2 space.
A crucible of informative mistakes
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Support
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP