Subject: Re: huge data caused segmentation fault (core dump)
To: c5666305 <>
From: J.T. Conklin <jtc@NetBSD.ORG>
List: current-users
Date: 05/06/1997 07:14:24
> Hello,
> 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.  I had tried the unlimit with no success.  The 
> following are reported by the limit

Are you allocating the array on the stack?  That array alone is nearly
8MB, which is close to your stack limit.