Memory Leak sending array to procedure that wraps gsn_csm_contour_map_ce

From: William Daniel Scheftic <scheftic_at_nyahnyahspammersnyahnyah>
Date: Sat May 12 2012 - 23:01:54 MDT

Hello,

I have been having problems with a difficult to solve memory leak in
one of my NCL (V5.1.1) programs. I have created a procedure called
plotGrid that I send my data to and it uses the function
gsn_csm_contour_map_ce to produce my output PDFs. I've checked my
programs memory usage by inputting systemfunc calls to ps and it seems
that some of the memory used by gsn_csm_contour_map_ce doesn't get
released after deleting all internal procedure variables and exiting
the plotGrid procedure. I'm not sure if there is an error in the way
I am coding or if it is an error in gsn_csm_contour_map_ce. Perhaps
this error is no longer present in the latest release however I don't
have administrative access to install the latest version of NCL on the
shared computer I'm using. Thanks for any help you can offer.

Here are links to the files required to run my ncl program also the
attached ndvi.rgb file should be placed in the colormaps directory.

http://www.atmo.arizona.edu/~scheftic/MODIS_8km_Albers_Grid.nc
http://www.atmo.arizona.edu/~scheftic/NDVI_Terra_8km_2004_001.nc
http://www.atmo.arizona.edu/~scheftic/NDVI_Terra_8km_2004_017.nc
http://www.atmo.arizona.edu/~scheftic/NDVI_Terra_8km_2004_033.nc

Sincerely,

Bill

_______________________________________________
ncl-talk mailing list
List instructions, subscriber options, unsubscribe:
http://mailman.ucar.edu/mailman/listinfo/ncl-talk

Received on Sat May 12 23:02:06 2012

This archive was generated by hypermail 2.1.8 : Thu May 17 2012 - 13:42:02 MDT