Re: relocationexceeding maximum size

From: Mary Haley (haley AT ucar.edu)
Date: Mon Nov 07 2005 - 16:36:24 MST

  • Next message: Jeff Van Dorn: "regrid PCM displaced pole grid to regular grid"

    This problem affects both PyNGL and NCL users, so I'll post the answer
    to both groups.

    For future reference, if you come across something like this in NCL or
    PyNGL, I highly recommend going to either home page (www.ncl.ucar.edu
    or www.pyngl.ucar.edu), and entering all or part of the error message
    in the "Search" field on the home page. This may point you to some
    information on how to get around the problem.

    For NCL users, there's a "common error messages" link that you can go
    to:

        http://www.ncl.ucar.edu/Document/Graphics/error_msg.shtml

    that discusses this error.

    For PyNGL, please see:

        http://www.pyngl.ucar.edu/nglfaq.html#WorkspaceReallocation

    --Mary

    On Mon, 7 Nov 2005, Dennis Shea wrote:

    >>
    >> When I try to create a plot, I'm getting an error message about
    >> workspace reallocation exceeding maximum size.
    >>
    >> fatal:ContourPlotDraw: Workspace reallocation would exceed maximum size
    >> 16777216
    >> fatal:ContourPlotDraw: draw error
    >> fatal:ContourPlotDraw: draw error
    >>
    >> Then I add following code in my script.
    >>
    >> ws_id = ngl_get_workspace_id()
    >> rlist = resource()
    >> rlist.wsMaximumSize = 33554432
    >> ngl_set_values(ws_id,rlist)
    >>
    >> The error message: fatal:syntax error: possibly an undefined procedure.
    >>
    >> I don't know what wrong with it.
    >>
    >> Any help are very appreciated!
    >
    >
    > The above is not NCL.
    >
    > It is pyngl: "Python Interface to the NCL Graphics Libraries"
    >
    > In the future, please direct pyngl questions to that group.
    >
    > http://mailman.ucar.edu/mailman/listinfo/pyngl-talk
    >
    > I will forward this message to pyngl-talk@ucar.edu
    >
    >
    > _______________________________________________
    > pyngl-talk mailing list
    > pyngl-talk@ucar.edu
    > http://mailman.ucar.edu/mailman/listinfo/pyngl-talk
    >
    _______________________________________________
    pyngl-talk mailing list
    pyngl-talk@ucar.edu
    http://mailman.ucar.edu/mailman/listinfo/pyngl-talk



    This archive was generated by hypermail 2b29 : Mon Nov 07 2005 - 16:39:48 MST