Re: segmentation fault

From: Sylvia Murphy (murphys AT XXXXXX)
Date: Tue Sep 03 2002 - 14:03:26 MDT

  • Next message: Dave Adams: "GRIB data"

    keith,

    often you will get seg faults like that when you exceed your
    memory. it not have anything to do with the loop. I would
    check your memory allocation, make sure you are deleteing as
    necessary arrays and also look for large array creation. once a certain
    level of memory has been allocated, you can delete individual
    arrays etc, but the total memory the machine has reserved for
    you still remains at its peak. this is why it is better to delete
    as you go rather than at the end of a program.

    sm

    ******************************************************
    Sylvia Murphy EML: murphys AT ucar.edu
    NCAR CGD/CAS PHN: 303-497-1720
    1850 Table Mesa Dr FAX: 303-497-1333
    Boulder, CO 80305

    WEB: http://www.cgd.ucar.edu/csm/support/
         http://www.cgd.ucar.edu/csm/support/CSM_Graphics/

    ******************************************************

    _______________________________________________
    ncl-talk mailing list
    ncl-talk AT ucar.edu
    http://mailman.ucar.edu/mailman/listinfo/ncl-talk



    This archive was generated by hypermail 2b29 : Wed Sep 04 2002 - 12:39:16 MDT