From: ao950 AT FreeNet DOT Carleton DOT CA (Paul Derbyshire) Newsgroups: comp.os.msdos.djgpp Subject: Re: DJGPP MEM BUG? Date: 15 Jun 1997 06:10:05 GMT Organization: The National Capital FreeNet Lines: 17 Message-ID: <5o00vt$89u@freenet-news.carleton.ca> References: <33A36EAE DOT 17D4 AT tc DOT umn DOT edu> <5o00cp$82l AT freenet-news DOT carleton DOT ca> Reply-To: ao950 AT FreeNet DOT Carleton DOT CA (Paul Derbyshire) NNTP-Posting-Host: freenet2.carleton.ca To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk Paul Derbyshire (ao950 AT FreeNet DOT Carleton DOT CA) writes: >> Table thingy[255][128]; > That was about a megabyte of data pushed on the stack, which on DOS DJGPP, > only holds 256K. Oops... actually, just under 512K. 256*256 is 64K, so 128*255 is just under 32K. That is times four ints per struct times four bytes per int, gives 512K... -- .*. Where feelings are concerned, answers are rarely simple [GeneDeWeese] -() < When I go to the theater, I always go straight to the "bag and mix" `*' bulk candy section...because variety is the spice of life... [me] Paul Derbyshire ao950 AT freenet DOT carleton DOT ca, http://chat.carleton.ca/~pderbysh