Isn't there a 32K limit on the NUMBER of variables .... that DIM statement will use 
60K variables (even though it IS sorta/kinda just one .... arrays are funny like that)

Ross Ferris
Stamina Software
Visage  an Evolution in Software Development

>-----Original Message-----
>From: [EMAIL PROTECTED] [mailto:owner-u2-
>[EMAIL PROTECTED] On Behalf Of Ken Wallis
>Sent: Thursday, 24 June 2004 11:00 AM
>To: [EMAIL PROTECTED]
>Subject: RE: [U2] [UD] udtconfig memory settings
>
>Simon Lewington wrote:
>
>> Could anyone tell me what udtconfig setting[s] I should
>> change to allow me
>> to have a larger named common on UD 5.2.0 (old, I know) on Win NT...
>>
>> BP TEST
>> 0001 PROGRAM TEST
>> 0002 COMMON /TEST/ TEST(60000)
>>
>> : RUN BP TEST
>> insufficient memory, requested size = -177152
>> and my session crashes.
>>
>> DIM TEST(60000); MAT TEST=''
>> works fine.
>>
>> COMMON /TEST/ TEST(30000)
>> COMMON /TEST2/ TEST2(30000)
>> is also fine.
>
>Simon, I'm not familiar with UniData on NT, but I'd look at changing
>SHM_MAX_SIZE and/or SHM_GPAGESZ.  I'm really not sure how the shared memory
>concept works under windows.  You might even find that this memory is being
>allocated from the local heap since COMMON is still process specific and
>you
>may be able to fiddle with some registry settings to increase the size of
>the heap that is available to your telnet session when you log in.
>
>Cheers,
>
>Ken
>-------
>u2-users mailing list
>[EMAIL PROTECTED]
>To unsubscribe please visit http://listserver.u2ug.org/
>
>
>---
>Incoming mail is certified Virus Free.
>Checked by AVG anti-virus system (http://www.grisoft.com).
>Version: 6.0.708 / Virus Database: 464 - Release Date: 18/06/2004
>

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.708 / Virus Database: 464 - Release Date: 18/06/2004
-------
u2-users mailing list
[EMAIL PROTECTED]
To unsubscribe please visit http://listserver.u2ug.org/

Reply via email to