Re: Fatal Error Message

From: Lisa Alexander <lisa_s_a_at_nyahnyahspammersnyahnyah>
Date: Thu Mar 27 2014 - 08:21:23 MDT

Hi Dennis,
Thanks for the input. The array size is not any larger, it just loops through finding it many more times.
I have 6 GB of memory on my computer. I am not sure what my variables require. But it loops through finding the values it requires many times before it has a problem. So, there is something building up over time, but it does not make sense to me because all variables are overwritten on the next loop.

One thing that I am doing is appending the results for each loop to a .txt file. Could this be causing some problem?
I attempted to run the program as you specified below, but it does not seem to identify the 'top' command.

Thanks very much for your help,
Lisa
--------------------------------------------
On Thu, 3/27/14, Dennis Shea <shea@ucar.edu> wrote:

 Subject: Re: Fatal Error Message
 To: "Lisa Alexander" <lisa_s_a@yahoo.ca>
 Cc: "ncl-talk@ucar.edu" <ncl-talk@ucar.edu>
 Received: Thursday, March 27, 2014, 9:20 AM
 
 
 [1] fatal:NclMalloc Failed:[errno=12]
 
    "I have been running a program on my
 computer, but this time
     the case time length is very long ..."
 
     I assume this means the array size(s) are much
 larger.
 
     You have run out of memory.
 
     If the primary variable is (say) 6GB and you
 have only 4GB,
     you will get a 'NclMalloc Failed' error. This
 is regardless
     if you have deleted all other variables.
 
     Do you know how much memory your computer has
 *available*?
     Do you know how much memory your main
 variable(s) need?
 
 [2] One crude approach
 
     %> ncl lisaAlexander.ncl >&! z.out
 &
     Then immediately,
     %> top
 
      This will show you the memory usage
 of your job.
 
 
 On 3/26/14, 4:12 PM, Lisa Alexander wrote:
> Hello,
> Please see the problem I have been experiencing below
 (noted in a previous post). I have tried to delete all
 variables once they are not being used and this does not
 work (does not improve the situation even slightly).
> Would it be possible for someone to take a look at the
 program to see if there are any obvious sinks for computer
 memory?
> Thanks for your help,
> Lisa
>
> --- On Wed, 3/26/14, Lisa Alexander <lisa_s_a@yahoo.ca>
 wrote:
>
>> From: Lisa Alexander <lisa_s_a@yahoo.ca>
>> Subject: Fatal Error Message
>> To: ncl-talk@ucar.edu
>> Received: Wednesday, March 26, 2014, 2:56 PM
>> Hello,
>> I have been running a program on my computer, but
 this time
>> the case time length is very long. When I run it,
 it stops
>> part way through and gives me this message:
>>
>> fatal:NclMalloc Failed:[errno=12]
>> Segmentation fault (core dumped)
>>
>> I must say, whenever I run the program (this time
 and other
>> times), the program runs very quickly to begin
 with, but
>> slows down over time.
>>
>> Can somebody let me know what the error message
 means?
>> Thanks,
>> Lisa
>> _______________________________________________
>> ncl-talk mailing list
>> List instructions, subscriber options,
 unsubscribe:
>> http://mailman.ucar.edu/mailman/listinfo/ncl-talk
>>
> _______________________________________________
> ncl-talk mailing list
> List instructions, subscriber options, unsubscribe:
> http://mailman.ucar.edu/mailman/listinfo/ncl-talk
>

_______________________________________________
ncl-talk mailing list
List instructions, subscriber options, unsubscribe:
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
Received on Thu Mar 27 08:21:33 2014

This archive was generated by hypermail 2.1.8 : Mon Mar 31 2014 - 11:47:09 MDT