[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[IDV #WKF-673152]: java.lang.OutOfMemoryError: java.lang.OutOfMemoryError: Java heap space

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.


  • Subject: [IDV #WKF-673152]: java.lang.OutOfMemoryError: java.lang.OutOfMemoryError: Java heap space
  • Date: Mon, 12 Dec 2011 09:42:16 -0700

> Full Name: Xiaoxia Lv
> Email Address: address@hidden
> Organization: China University of  Geoscience
> Package Version: 3.0u1 build date:2011-11-30 18:36 UTC
> Operating System: Windows XP
> Hardware: Java: home: C:\Program Files\IDV_3.0u1\jre version: 1.6.0_20 
> j3d:1.5.2 fcs (build4)
> Description of problem: Creating display: Image Display
> java.lang.OutOfMemoryError: java.lang.OutOfMemoryError: Java heap space
> Java heap space
> 

Hi Xiaoxia,
      I didn't get the uploaded file "salt.2006.nc", there is something wrong 
in the process of uploading. Could you give it another try?
      For the "Java heap space" error, you can edit the runIDV script. Look for 
the runIDV.bat file in your installation folder, uncomment the line with 
"MaxPermSize=128" and comment out the line above it, this will let you run the 
IDV with 128m maximum perm size. If you the problem doesn't go away, increase 
this number to 256m.


Yuan
> ******************
> Stack trace:
> java.lang.OutOfMemoryError: Java heap space
> at org.apache.poi.hssf.usermodel.HSSFSheet.createRow(HSSFSheet.java:192)
> at ucar.unidata.data.grid.GridUtil.writeGridToXls(GridUtil.java:5564)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
> at java.lang.reflect.Method.invoke(Unknown Source)
> 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._pyx64.writeGridToXls$36(<string>:332)
> at org.python.pycode._pyx64.call_function(<string>)
> at org.python.core.PyTableCode.call(PyTableCode.java:165)
> at org.python.core.PyBaseCode.call(PyBaseCode.java:149)
> at org.python.core.PyFunction.__call__(PyFunction.java:327)
> at org.python.pycode._pyx66.f$0(<string>:1)
> at org.python.pycode._pyx66.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:771)
> 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)
> at 
> ucar.unidata.idv.control.GridDisplayControl.doMakeDataInstance(GridDisplayControl.java:284)
> at 
> ucar.unidata.idv.control.DisplayControlImpl.initializeDataInstance(DisplayControlImpl.java:3153)
> 
> 
> 


Ticket Details
===================
Ticket ID: WKF-673152
Department: Support IDV
Priority: Normal
Status: Closed