This archive contains answers to questions sent to Unidata support through mid-2025. Note that the archive is no longer being updated. We provide the archive for reference; many of the answers presented here remain technically correct, even if somewhat outdated. For the most up-to-date information on the use of NSF Unidata software and data services, please consult the Software Documentation first.
Hi Stefan. Please increase the memory. Since you are running 2.9u4, download the latest nightly build. Go to the Edit --> Preferences, System tab and increase the memory. Restart the IDV. -Julien > Full Name: Stefan Cecelski > Email Address: address@hidden > Organization: University of Maryland > Package Version: 2.9u4 build date:2011-04-13 07:13 UTC > Operating System: Mac OS X > Hardware: Java: home: > /System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home version: > 1.6.0_24 j3d:1.5.2 fcs (build4) > Description of problem: Creating display: Color-Shaded Cross Section > java.lang.OutOfMemoryError: java.lang.OutOfMemoryError: Java heap space > Java heap space > > I keep getting the above error when trying to do a simple cross section of > relative vorticity from my 4km WRF data from my GrADS .ctl/.dat pair. I am > trying to create a cross section from 1 time step using pressure levels > between 1000 and 400 hPa(every 50 hPa). I get this error any time I try to > create a cross section, regardless of how many other parameters I have > displayed(0-4). The cross section fails when attempting 1 time step or more. > > Thanks! > > > Stefan > > ****************** > Stack trace: > java.lang.OutOfMemoryError: Java heap space > at visad.GriddedSet.getNeighbors(GriddedSet.java:841) > at visad.SampledSet.getNeighbors(SampledSet.java:309) > at visad.FlatField.derivative(FlatField.java:4256) > at visad.FlatField.derivative(FlatField.java:4485) > at ucar.unidata.data.grid.GridMath.partial(GridMath.java:1581) > at ucar.unidata.data.grid.GridMath.partial(GridMath.java:1550) > at ucar.unidata.data.grid.GridMath.partial(GridMath.java:1519) > at ucar.unidata.data.grid.DerivedGridFactory.ddy(DerivedGridFactory.java:2837) > at > ucar.unidata.data.grid.DerivedGridFactory.createRelativeVorticity(DerivedGridFactory.java:435) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) > at java.lang.reflect.Method.invoke(Method.java:597) > at org.python.core.PyReflectedFunction.__call__(PyReflectedFunction.java:186) > at org.python.core.PyReflectedFunction.__call__(PyReflectedFunction.java:204) > at org.python.core.PyObject.__call__(PyObject.java:404) > at org.python.core.PyObject.__call__(PyObject.java:408) > at org.python.pycode._pyx63.f$0(<string>:1) > at org.python.pycode._pyx63.call_function(<string>) > at org.python.core.PyTableCode.call(PyTableCode.java:165) > at org.python.core.PyCode.call(PyCode.java:18) > at org.python.core.Py.runCode(Py.java:1261) > at org.python.core.__builtin__.eval(__builtin__.java:484) > at org.python.core.__builtin__.eval(__builtin__.java:488) > at org.python.util.PythonInterpreter.eval(PythonInterpreter.java:190) > at ucar.unidata.data.DerivedDataChoice.getData(DerivedDataChoice.java:764) > at ucar.unidata.data.DataChoice.getData(DataChoice.java:637) > at ucar.unidata.data.DataInstance.getData(DataInstance.java:243) > at ucar.unidata.data.DataInstance.getData(DataInstance.java:207) > at ucar.unidata.data.grid.GridDataInstance.init(GridDataInstance.java:205) > at ucar.unidata.data.grid.GridDataInstance.<init>(GridDataInstance.java:162) > at ucar.unidata.data.grid.GridDataInstance.<init>(GridDataInstance.java:143) > > > Ticket Details =================== Ticket ID: ENV-141506 Department: Support IDV Priority: Normal Status: Closed