From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f9b51,963c446b36150167 X-Google-Attributes: gidf9b51,public X-Google-Thread: 111c93,963c446b36150167 X-Google-Attributes: gid111c93,public X-Google-Thread: 1103af,963c446b36150167 X-Google-Attributes: gid1103af,public X-Google-Thread: 1014db,963c446b36150167 X-Google-Attributes: gid1014db,public From: Thomas_Matthews@tecmar.com Subject: Re: max. array size GNU C compiler... Date: 1999/08/19 Message-ID: <7pi0je$knv$1@nnrp1.deja.com>#1/1 X-Deja-AN: 514843382 References: <37BC4252.F83CD3E@ekkinc.com> <87r9kzebjj.fsf@pfaffben.user.msu.edu> <37BC4A9E.D3CC7FEC@ekkinc.com> X-Http-Proxy: 1.0 x42.deja.com:80 (Squid/1.1.22) for client 206.247.119.3 Organization: Deja.com - Share what you know. Learn what you don't. X-Article-Creation-Date: Thu Aug 19 22:31:09 1999 GMT X-MyDeja-Info: XMYDJUIDthomas_matthews Newsgroups: comp.lang.c,comp.os.linux.setup,comp.os.linux.misc,comp.os.linux.alpha X-Http-User-Agent: Mozilla/4.08 [en] (Win95; I ;Nav) In article <37BC4A9E.D3CC7FEC@ekkinc.com>, EKK wrote: > > And WTF do you have to declare this array statically? > > would it make a difference if I didn't declare statically AND > needed that much room? > > BTW WTF don't you spell out your cute TLA's? > > AG Some compilers put static and dynamic memory in different areas. Some compilers have limitations on static memory size, but the limit on dynamic memory is based on the amount of memory in the machine. An N-bit machine does not guarantee that it contains a lot of memory. If I have an 8-bit machine with 32M of memory and a 64-bit machine with 16 megs of memory, what does this tell you? The N-bit machine can ACCESS a wider range of memory than an M-bit machine, provided that M < N. Another question is: Do you really need all those values in memory at the same time? Can you store the values in a file and only haul in small pieces that you are working on? {Works with matrices, and tables}. Sent via Deja.com http://www.deja.com/ Share what you know. Learn what you don't.