From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 11318c,86b7a70f78abdf2f X-Google-Attributes: gid11318c,public X-Google-Thread: 1014db,963c446b36150167 X-Google-Attributes: gid1014db,public X-Google-Thread: f9b51,963c446b36150167 X-Google-Attributes: gidf9b51,public X-Google-Thread: 1103af,963c446b36150167 X-Google-Attributes: gid1103af,public X-Google-Thread: 1094ba,86b7a70f78abdf2f X-Google-Attributes: gid1094ba,public X-Google-Thread: 111c93,963c446b36150167 X-Google-Attributes: gid111c93,public From: Toon Moene Subject: Re: max. array size GNU C compiler... Date: 1999/08/24 Message-ID: <37C2D775.2A1AEF2F@moene.indiv.nluug.nl>#1/1 X-Deja-AN: 516660572 Content-Transfer-Encoding: 7bit References: <37BC4252.F83CD3E@ekkinc.com> <87r9kzebjj.fsf@pfaffben.user.msu.edu> <37BC4A9E.D3CC7FEC@ekkinc.com> <7pi0je$knv$1@nnrp1.deja.com> <37BD7803.E59265BE@ekkinc.com> Content-Type: text/plain; charset=us-ascii X-Complaints-To: abuse@nl.uu.net X-Trace: zonnetje.nl.uu.net 935516098 1081 195.109.255.217 (24 Aug 1999 17:34:58 GMT) Organization: Moene Computational Physics, Maartensdijk, The Netherlands Mime-Version: 1.0 NNTP-Posting-Date: 24 Aug 1999 17:34:58 GMT Newsgroups: comp.lang.c,comp.os.linux.setup,comp.os.linux.misc,comp.os.linux.alpha,gnu.gcc.help,comp.lang.fortran EKK wrote: > I've tried with an array that exceeds the physical 512MB of memory on > the Linux box. The compiler does not seem to complain untill > beyond 1GB, but well before 2GB. It's pretty hard to tell, I guess > without a machine with 2GB of physical RAM on it, but I am trying > to decide whether to buy one or not, so... Arrays in the main program are limited in size to RAM+swap. So if your swap is 2 * RAM, you could go to max 1.5 GByte (in practice always somewhat less). This same limitation leads to problems running the test programs of the new LAPACK 3.0 library on Linux systems that have significantly less than half a GByte of RAM. -- Toon Moene (toon@moene.indiv.nluug.nl) Saturnushof 14, 3738 XG Maartensdijk, The Netherlands Phone: +31 346 214290; Fax: +31 346 214286 GNU Fortran: http://world.std.com/~burley/g77.html