Subject: Re: huge data caused segmentation fault (core dump)
To: c5666305 <c5666305@comp.polyu.edu.hk>
From: Perry E. Metzger <perry@piermont.com>
List: current-users
Date: 05/05/1997 23:37:21
"c5666305" writes:
> 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.

Did you try gdb'ing the program to see where your fault occurred?

Perry

> I had tried the unlimit with no success.  The 
> following are reported by the limit
> 
> =====================================
> cputime         unlimited
> filesize        unlimited
> datasize        262144 kbytes
> stacksize       8192 kbytes
> coredumpsize    unlimited
> memoryuse       27624 kbytes
> memorylocked    27624 kbytes
> maxproc         532 
> openfiles       1024 
> =====================================
> 
> The data file is about 4M+ in size.  Any idea ?  Thanks for your help in
> advance.
> 
> 
> Clarence CHAN
>