Date: Thu, 25 Apr 1996 11:51:58 +0200 (IST) From: Eli Zaretskii To: GEORGE GAGHON Cc: djgpp AT delorie DOT com Subject: Re: problem with DJGPP and arrays. In-Reply-To: <4lk5mk$rl4@news.nevada.edu> Message-Id: Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII On 24 Apr 1996, GEORGE GAGHON wrote: > Ok I am having a problem with DJGPP and large arrays. All my arrays do > not exceed 2megs of RAM (combined). Are they static (i.e. declared outside any function) or automatic? If they are automatic (declared inside a function), then they are allocated on the stack, and the default stack in DJGPP v2 (is that v2?) is limited to 256KB. The DJGPP FAQ list (v2/faq200b.zip from the same place you get DJGPP) describes how to enlarge the stack in section 15.8, which see. > file into it. I looked in the FAQ and found nothing that helped. How so? The question in section 15.8 says this: **Q*: My program bombs when I use very large automatic arrays.*