------- Comment #5 from sgk at troutmask dot apl dot washington dot edu
2007-09-18 20:07 -------
Subject: Re: data initialization with more than 2**32 elements
On Tue, Sep 18, 2007 at 07:26:22PM -0000, sgk at troutmask dot apl dot
washington dot edu wrote:
>
> If I'm not mistaken, this will create an executable with
> 4 GB of static data in it. I think we should but a sane
> limit on the value. Btw, I'm sitting at
>
> 51879 sgk 1 122 0 1302M 1304M CPU1 1 14:17 93.41% as
> 51878 sgk 1 -8 0 17684K 12924K pipewr 0 7:58 48.78% f951
>
> in top(1). So, it memory grows to rough 4GB, then it will take
> about an hour to compile this program.
>
:)
Mem: 5365M Active, 1779M Inact, 222M Wired, 341M Cache, 214M Buf, 10M Free
Swap: 17G Total, 17G Free
PID USERNAME THR PRI NICE SIZE RES STATE C TIME WCPU COMMAND
51879 sgk 1 117 0 4254M 4261M CPU1 1 53:25 96.53% as
51878 sgk 1 104 0 17684K 12860K RUN 1 26:01 39.45% f951
troutmask:sgk[312] gfc4x -o z -pipe -O p.f90
/tmp: write failed, filesystem is full
/tmp/ccdu52FQ.o: No space left on device
{standard input}: Assembler messages:
{standard input}:87: FATAL: Can't write /tmp/ccdu52FQ.o: No space left on
device
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31244