| Peter,
The unfortunate scoop is that until OpenVMS V7.0, you are stuck with using
the P0 and P1 spaces for heap and stack. Unless you can do something like
allocate what you are after on the stack (it would be volitale to that
scope,
and yuor >1GB would not be contguous), then 1GB is it.
As of OpenVMS V7.0, there is an additional space, P2, which you can get at.
There is Postscript documentation on the ASAP Web site about these
capabilities -- "OpenVMS Alpha Guide to 64-bit Addressing". You can find
it
at:
http://www.partner.digital.com/www-swdev/pages/Home/TECH/documents/vms-docs-v7.
If you need me to send this to you in emial, I can. The relavent issues
for
generally alloacting memory on OpenVMS are WSMAX in the sysgen facility,
and
wsextent in the user authorization file (as well as having a reasonable
pagefile.sys to back it).
Regards,
Jeff Kenyon
Alpha Developer Support
|
| From: SMTP%"[email protected]" 30-MAY-1997 16:27:07.82
To: [email protected] ([email protected])
CC:
Subj: Re: OpenVMS and getting more than 1GB...
Thanks for your prompt reply, although I had wished for better news. I
hope you don't mind indulging me a bit further on finding a workable
solution.
>To: [email protected]
>Subject: Re: OpenVMS and getting more than 1GB...
>From: [email protected] ([email protected])
>Date: Fri, 30 May 1997 13:44:46 -0400
>
>Peter,
>
>The unfortunate scoop is that until OpenVMS V7.0, you are stuck with using
>the P0 and P1 spaces for heap and stack. Unless you can do something like
>allocate what you are after on the stack (it would be volitale to that scope,
I could probably get memory in P1 by defining a large array in an
outer scope in my C/Fortran program, but this is not very nice. Can I
allocate memory in P1 using the lib$vm calls? If so, am I correct in
assuming this memory remains allocated until it is freed? Does the
memory manager know that the max stack size has been reduced?
>and your >1GB would not be contguous)
I can live without the >1Gb not being contiguous.
Thanks. Peter
|
| From: SMTP%"[email protected]" 2-JUN-1997 17:11:51.43
To: [email protected] ([email protected])
CC:
Subj: Re: Allocating memory from the stack -- re: problem 1997-3685
>To: [email protected]
>Subject: Allocating memory from the stack -- re: problem 1997-3685
>From: [email protected] ([email protected])
>Date: Mon, 2 Jun 1997 12:41:58 -0400
>
>Peter --
>
>Here's one thing you might be able to do on pre-V7 systems:
>
>Start at hex 40000000. This is the bottom of p1 space (where the
>stack = lives)
>ProbeW this address to see if it can be written.
I don't know what probeW is, please explain.
>Move down by pages, probing once per page, until you get the amount of =
memory
> you need.=20
>
Thanks for such a quick response. Peter
|