Charles,
You might want to look into the source of your crash a little more. There is no
difference between:
largeArray[2400];
and
static largeArray[2400];
in terms of how much memory is used or where it's allocated. Unless, of course,
you were declaring the array inside of a function. In that case, the the first
version would put the array on the stack. Since the stack is only 2K - 4K (or
so), allocating a 4800 byte array on it would definite crash you!
-- Keith
"Charles Rezsonya" <[EMAIL PROTECTED]> on 10/31/99 11:00:46 AM
Please respond to [EMAIL PROTECTED]
Sent by: "Charles Rezsonya" <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
cc: (Keith Rollin/HQ/3Com)
Subject: Re: declaration problem... =(
yup,.. declared static and no problems
-----Original Message-----
From: Steve Sabram <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED] <[EMAIL PROTECTED]>
Date: Saturday, October 30, 1999 8:27 PM
Subject: Re: declaration problem... =(
>Yes, there is only about 5K of data to use in a heap. You need to be more
>dynamic about it.
>
>Steve
>
>Charles Rezsonya wrote:
>
>> hello, i'm setting aside a large char array
>>
>> say....
>>
>> largeArray[2400];
>>
>> but when i have a netlib find and open to make a connection it crashes.
is
>> there any known memory issues?
>> this is on a spt 1740
>
>