NOTICE: This version of the NSF Unidata web site (archive.unidata.ucar.edu) is no longer being updated.
Current content can be found at unidata.ucar.edu.
To learn about what's going on, see About the Archive Site.
-Roy M. On Oct 29, 2007, at 7:15 PM, Trevor.Daniels@xxxxxxxx wrote:
Hi,I'm getting out of memory errors trying to aggregate some rainfall datafiles (each 2.5Mb) using the netcdf grid subsetting service in thredds (3.16.19) with the following.. <dataset name="Rainfall" ID="RainAggregated" urlPath="content/bilo/aggregatedData.nc"><netcdf xmlns="http://www.unidata.ucar.edu/namespaces/netcdf/ ncml-2.2"><aggregation dimName="time" type="joinNew"> <variableAgg name="rain"/> <scan location="c:\data\bilo\2007\" suffix=".nc" dateFormatMark="#yyyyMMdd" /> </aggregation> </netcdf> Generally the aggregation works for producing outputs of up to about 50Mb, whereby anything greater generates the following stack trace on multiple pc's... Oct 29, 2007 3:34:48 PM org.apache.catalina.core.StandardWrapperValve invokeSEVERE: Servlet.service() for servlet GridSubsetService threw exceptionjava.lang.OutOfMemoryError: Java heap space at ucar.ma2.ArrayFloat.<init>(ArrayFloat.java:86) at ucar.ma2.ArrayFloat$D3.<init>(ArrayFloat.java:291) at ucar.ma2.ArrayFloat$D3.<init>(ArrayFloat.java:283) at ucar.ma2.ArrayFloat.factory(ArrayFloat.java:50) at ucar.ma2.ArrayFloat.factory(ArrayFloat.java:36) at ucar.ma2.Array.factory(Array.java:130) at ucar.ma2.Array.factory(Array.java:79) at ucar.nc2.ncml.Aggregation.read(Aggregation.java:666) at ucar.nc2.dataset.VariableDS._read(VariableDS.java:277) at ucar.nc2.Variable.read(Variable.java:603) at ucar.nc2.Variable.read(Variable.java:556) at ucar.nc2.FileWriter.copySome(FileWriter.java:287) at ucar.nc2.FileWriter.copyVarData(FileWriter.java:225) at ucar.nc2.FileWriter.finish(FileWriter.java:459) at ucar.nc2.dt.grid.NetcdfCFWriter.makeFile(NetcdfCFWriter.java:198) at thredds.server.ncSubset.GridServlet.sendFile(GridServlet.java:395) at thredds.server.ncSubset.GridServlet.processGrid(GridServlet.java:354) at thredds.server.ncSubset.GridServlet.doGet(GridServlet.java:148) at javax.servlet.http.HttpServlet.service(HttpServlet.java:690) at javax.servlet.http.HttpServlet.service(HttpServlet.java:803) atorg.apache.catalina.core.ApplicationFilterChain.internalDoFilter (ApplicationFilterChain.java:290) atorg.apache.catalina.core.ApplicationFilterChain.doFilter (ApplicationFilterChain.java:206) atorg.apache.catalina.core.StandardWrapperValve.invoke (StandardWrapperValve.java:233) atorg.apache.catalina.core.StandardContextValve.invoke (StandardContextValve.java:175) atorg.apache.catalina.authenticator.AuthenticatorBase.invoke (AuthenticatorBase.java:433) atorg.apache.catalina.core.StandardHostValve.invoke (StandardHostValve.java:128) atorg.apache.catalina.valves.ErrorReportValve.invoke (ErrorReportValve.java:102) atorg.apache.catalina.core.StandardEngineValve.invoke (StandardEngineValve.java:109) atorg.apache.catalina.connector.CoyoteAdapter.service (CoyoteAdapter.java:263) atorg.apache.coyote.http11.Http11Processor.process (Http11Processor.java:844) atorg.apache.coyote.http11.Http11Protocol $Http11ConnectionHandler.process(Http11Protocol.java:584) atorg.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java: 447)Any suggestions on how to resolve or further diagnose? Thanks for help, Trevor _______________________________________________ thredds mailing list thredds@xxxxxxxxxxxxxxxxFor list information or to unsubscribe, visit: http:// www.unidata.ucar.edu/mailing_lists/
**********************"The contents of this message do not reflect any position of the U.S. Government or NOAA."
********************** Roy Mendelssohn Supervisory Operations Research Analyst NOAA/NMFS Environmental Research Division Southwest Fisheries Science Center 1352 Lighthouse Avenue Pacific Grove, CA 93950-2097 e-mail: Roy.Mendelssohn@xxxxxxxx (Note new e-mail address) voice: (831)-648-9029 fax: (831)-648-8440 www: http://www.pfeg.noaa.gov/ "Old age and treachery will overcome youth and skill."
thredds
archives: