Subject: Re: huge data caused segmentation fault (core dump)
To: c5666305 <>
From: Curt Sampson <>
List: current-users
Date: 05/05/1997 21:27:23
On Tue, 6 May 1997, c5666305 wrote:

> I am doing a project which will load 1000 * 1000 double elemnets into a 
> square matrix.  When I tried to load the data, I encountered he segmentation
> flault and core dump.
> ...
> datasize        262144 kbytes
> stacksize       8192 kbytes

Are you trying to load it into an automatic array, rather than
global or malloc'd space? If so, it's the stacksize, not the datsize,
that's making things blow up.


Curt Sampson		Info at
Internet Portal Services, Inc.		`And malt does more than Milton can
Vancouver, BC   (604) 257-9400		 To justify God's ways to man.'