<div dir="ltr">Dave B,<div><br></div><div>That's great. Thank you for the quick response.</div><div><br></div><div>Do you have a rough estimate for when the conda development branch access might be available?</div><div><br></div><div>--Dave A.</div><div><br></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Jun 29, 2017 at 4:08 PM, David Brown <span dir="ltr"><<a href="mailto:dbrown@ucar.edu" target="_blank">dbrown@ucar.edu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Dave ,<br>
This leak has been fixed. If you need the new version, let us know. We<br>
are in the process of creating a system where a new build will be<br>
available the next day whenever a change has been made to the<br>
development branch of the code. This will be via the ncar conda<br>
channel.<br>
-dave<br>
<br>
On Thu, Jun 29, 2017 at 10:21 AM, David Brown <<a href="mailto:dbrown@ucar.edu">dbrown@ucar.edu</a>> wrote:<br>
> Hi Dave,<br>
> We will check this out.<br>
> -dave<br>
><br>
> On Thu, Jun 29, 2017 at 10:09 AM, Dave Allured - NOAA Affiliate<br>
> <<a href="mailto:dave.allured@noaa.gov">dave.allured@noaa.gov</a>> wrote:<br>
>> NCL team,<br>
>><br>
>> When reading a series of grib2 files, I get a serious memory leak. For each<br>
>> grib2 file of about 60 Mb size, it seems that about 15 Mb of user memory is<br>
>> consumed by addfile, and never released.<br>
>><br>
>> Is this an NCL bug? Is there a quick fix or a patch available?<br>
>><br>
>> We tested similar scenarios with Netcdf file sets, and never saw a memory<br>
>> accumulation like this.<br>
>><br>
>> I tested this with NCL 6.4.0 on two systems, and got identical behavior:<br>
>><br>
>> * Mac OS El Capitan (10.11.6)<br>
>> * Linux, Centos 6.9.<br>
>><br>
>> Following is a simple test case. I suggest using any available grib2 data<br>
>> set for your own testing. I can upload some of these grib2 files if you<br>
>> can't duplicate the behavior with your own files.<br>
>><br>
>> begin<br>
>> base = "/Projects/Reforecast2/1985/<wbr>198501/"<br>
>> wildcard = "198501??00/[cp]??/latlon/hgt_<wbr>pres_198501??00_???.grib2"<br>
>><br>
>> files = systemfunc ("ls -1 " + base + wildcard)<br>
>> nfiles = dimsizes (files)<br>
>> print ("Number of files = " + nfiles)<br>
>><br>
>> do i = 0, nfiles-1<br>
>> f = addfile (files(i), "r")<br>
>> print (i + " " + files(i))<br>
>> delete (f)<br>
>> end do<br>
>> end<br>
>><br>
>> Thanks for looking into this.<br>
>><br>
>> --Dave<br></blockquote></div></div></div>