From: EKK <ekk@ekkinc.com>
Subject: Re: max. array size GNU C compiler...
Date: 1999/08/20 [thread overview]
Message-ID: <37BD7803.E59265BE@ekkinc.com> (raw)
In-Reply-To: 7pi0je$knv$1@nnrp1.deja.com
> 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.
>
it seems under IRIX, the limit is the system's stacksize, which you
can only change to the corresponding physical RAM and not beyond.
the stacksize on my Linux box is 'unlimited'...perhaps the limitation
is not in the system, but the compiler????
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...
> 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}.
>
this would be a good thing, however, this is a finite element analysis
code which would need a massive overhaul to achieve what you describe
above, which would induce considerable loss of performance.
thank you,
AG
--
Alessandro Giachino, Software Engineer
EKK Inc.
2065 West Maple C309 tel. 248-624-9957
Walled Lake MI 48390 fax. 248-624-7158
_____________________________________________
http://www.ekkinc.com
next prev parent reply other threads:[~1999-08-20 4:00 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
1999-08-19 4:00 max. array size GNU C compiler EKK
1999-08-19 4:00 ` Ben Pfaff
1999-08-19 4:00 ` EKK
1999-08-19 4:00 ` Ben Pfaff
1999-08-19 4:00 ` EKK
1999-08-19 4:00 ` Thomas_Matthews
1999-08-20 4:00 ` EKK [this message]
1999-08-20 4:00 ` Andrew P. Mullhaupt
1999-08-24 4:00 ` Toon Moene
1999-08-19 4:00 ` Dann Corbit
1999-08-19 4:00 ` EKK
1999-08-20 4:00 ` Volker Hetzer
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox