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

[netCDF #XAS-504138]: NcFile Netcdf4 Memory Leak

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: [netCDF #XAS-504138]: NcFile Netcdf4 Memory Leak
  • Date: Wed, 24 Oct 2007 10:28:37 -0600

Greg,

The developer who will fix this is on travel and won't get to it
until next week.  If you need an earlier workaround, the amount of
memory leaked is reduced substantially by writing all the values for
the projection_x_coordinate with a single call to write all the values
at once, rather than individual invocations of the put_rec() method
for every value, and similarly for projection_y_coordinate.

--Russ


Russ Rew                                         UCAR Unidata Program
address@hidden                     http://www.unidata.ucar.edu



Ticket Details
===================
Ticket ID: XAS-504138
Department: Support netCDF
Priority: Normal
Status: Closed