Re: [netcdfgroup] netcdf-4 memory leak

Jeff Whitaker <jswhit@xxxxxxxxxxx> writes:

> Hi all:
>
> I found a memory leak, either in the netcdf-4 or HDF5 libs.  To
> reproduce it,  run the simple_xy_wr.c example program to create a
> file, then open and close it in a loop, monitoring the memory usage
> with top.  If the file is created in netcdf-3 (or netcdf-4 classic)
> format, the memory usage remains constant.  If the file is created in
> NETCDF4 format, the memory usage goes up and up.  Here's the simple
> program to trigger the leak.  I've attached simple_xy_4.nc and
> simple_xy_3.nc - the former will lead to a leak, the latter will not.
>

Thanks!

I will look at this and let you know when it is fixed in the
snapshot...

Ed
-- 
Ed Hartnett  -- ed@xxxxxxxxxxxxxxxx


  • 2008 messages navigation, sorted by:
    1. Thread
    2. Subject
    3. Author
    4. Date
    5. ↑ Table Of Contents
  • Search the netcdfgroup archives: