Re: "segmentation fault"

From: <janini_at_nyahnyahspammersnyahnyah>
Date: Thu, 09 Feb 2006 17:05:39 -0800

My machine is running x86_64 OS. The ncl is 64-bit. it has 8G of memory.

Thanks,
Janini

>>
>> Are you running 64-bit NCL? How much memory do you have?
>>
>
> Kate's response hits the nail on the head!
>
> 150*40*387*320 = 743,040,000 values
>
> Each value is 4 bytes [float]
>
> 4*743040000 ==> 2,972,160,000 bytes ==> 2.97 giga bytes
>
> A 32-bit system can address 'only' up to 2GB.
>
> A 64-bit system could readily handle a 2+Gb address.
> However, some 64-bit systems may restrict the underlying
> C-malloc to use 32-bit addressing only.
>
> ---
> Also, say you have 4GB of memory and limited swap
> space [disk]. If you try to use say 5 variables
> of 1GB space your script will fail if your swap
> space is not large enough.
>
>
>
> Regards
> D
>
>
>
>
>

_______________________________________________
ncl-talk mailing list
ncl-talk_at_ucar.edu
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
Received on Thu Feb 09 2006 - 18:05:39 MST

This archive was generated by hypermail 2.2.0 : Fri Feb 10 2006 - 09:28:16 MST