[ncl-talk] a NCL memory usage question
Wei Huang
whuang at univ-wea.com
Wed Jun 29 09:31:35 MDT 2016
NCLers,
I am recently running NCL daily which all calls function:
plot := gsn_csm_contour_map(wks, plot_var, res)
with differnt plot_var, and res has different attributes of color and levels:
e.g. res at cnFillColors and res at cnLevels varies with plot_var.
The "wks" defines plot-type "png", with pixel number in both x,y changes from 256 to 1024.
One thing I noticed is that the memory usage varies a lot, as below
(from "top" output, where the 5th columns are memory for different jobs):
10067 whuang 20 0 16.592g 236044 7540 R 100.0 0.1 0:39.64 ncl
14364 whuang 20 0 16.382g 264436 7512 R 100.0 0.1 3:39.19 ncl
41716 whuang 20 0 1378632 143180 7540 R 100.0 0.1 1:15.60 ncl
54309 whuang 20 0 1373192 137288 7540 R 100.0 0.1 1:06.56 ncl
59468 whuang 20 0 1377664 136928 7540 R 100.0 0.1 1:47.91 ncl
Does anyone has such experience, and knows why memory usage varies so much?
Thanks,
Wei
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20160629/2d5118dc/attachment.html
More information about the ncl-talk
mailing list