<div>John,</div>After a full reboot, I re-ran script but with same memory allocation error.  I tried to follow the Performance TAB on Task Manager while running it, and did not notice anything out of the ordinary on either the physical or kernel memory.  Also, CPU usage peaked briefly to around 60%.<div>
<br></div><div>It still works with &#39;gxyat...&#39; but still puzzled why it won&#39;t do the printim.  I use printim routinely, including after running shapefiles, but have never encountered this problem as I recall.<div>
Stephen<br><br><div class="gmail_quote">On Wed, Dec 1, 2010 at 4:20 PM, Huddleston, John <span dir="ltr">&lt;<a href="mailto:Huddleston@cira.colostate.edu">Huddleston@cira.colostate.edu</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div lang="EN-US" link="blue" vlink="purple"><div><p class="MsoNormal"><span style="font-size:11.0pt;color:#1F497D">Stephen,</span></p><p class="MsoNormal"><span style="font-size:11.0pt;color:#1F497D"> </span></p><p class="MsoNormal">
<span style="font-size:11.0pt;color:#1F497D">A question: if you reboot the XP box can you repeat the memory allocation error? When you do it, start task manager and watch the Performance TAB memory usage.</span></p><p class="MsoNormal">
<span style="font-size:11.0pt;color:#1F497D"> </span></p><p class="MsoNormal"><span style="font-size:11.0pt;color:#1F497D">John</span></p><p class="MsoNormal"><span style="font-size:11.0pt;color:#1F497D"> </span></p><p class="MsoNormal">
<span style="font-size:10.0pt;color:#1F497D">John Huddleston, PhD</span></p><p class="MsoNormal"><span style="font-size:10.0pt;color:#1F497D">Cooperative Institute for Research in the Atmosphere</span></p><p class="MsoNormal">
<span style="font-size:11.0pt;color:#1F497D"> </span></p><p class="MsoNormal"><b><span style="font-size:10.0pt">From:</span></b><span style="font-size:10.0pt"> <a href="mailto:gradsusr-bounces@gradsusr.org" target="_blank">gradsusr-bounces@gradsusr.org</a> [mailto:<a href="mailto:gradsusr-bounces@gradsusr.org" target="_blank">gradsusr-bounces@gradsusr.org</a>] <b>On Behalf Of </b>Stephen McMillan<br>
<b>Sent:</b> Wednesday, December 01, 2010 1:17 PM<br><b>To:</b> <a href="mailto:gradsusr@gradsusr.org" target="_blank">gradsusr@gradsusr.org</a><br><b>Subject:</b> [gradsusr] Memory Allocation Error When Using PRINTIM</span></p>
<div><div></div><div class="h5"><p class="MsoNormal"> </p><p class="MsoNormal">I believe this is the first time I&#39;ve encountered this error in 7+ years of using GrADS, and could not find anything specific to this in the User Archives:</p>
<div><p class="MsoNormal"> </p></div><div><div><p class="MsoNormal">ga-&gt; printim c:\temp\uscan.map.png x960 y720 white</p></div><div><p class="MsoNormal">Memory allocation error: gxhpng</p></div></div><div><p class="MsoNormal">
 </p></div><div><p class="MsoNormal">I executed above  &quot;printim&quot; at the command line after creating a test background map using various shapefiles and the shp_polyf/shp_lines commands.  No file was generated.  However, I do not get the error when using &quot;gxyat...&quot; to create it, such as the file attached.</p>
</div><div><p class="MsoNormal"> </p></div><div><p class="MsoNormal">At the time of execution, I had an OPeNDAP connection to the latest operational GFS forecast model at NOMADS.  Just prior to using the shapefile commands, I had displayed a single variable to set the map environment, and there were no defined variables.  The .shp files I used ranged between 1 and 13MB size.</p>
</div><div><p class="MsoNormal"> </p></div><div><p class="MsoNormal">I&#39;m using GrADS 2.0.a7.oga.3 on a 3-4 years old Windows XP, with 3.2GB RAM.  I have not yet tried this with the later opengrads or cola versions.</p>
</div><div><p class="MsoNormal"> </p></div><div><p class="MsoNormal">Stephen McMillan</p></div></div></div><pre>***************************************************</pre><pre>The information contained in this e-mail message </pre>
<pre>is intended only for the use of the recipient(s) </pre><pre>named above and may contain information that is </pre><pre>privileged, confidential, and/or proprietary. </pre><pre>If you are not the intended recipient, you may not</pre>
<pre>review, copy or distribute this message. If you have</pre><pre>received this communication in error, please notify </pre><pre>the sender immediately by e-mail, and delete the original message.</pre><pre>***************************************************</pre>
<pre> </pre></div></div><br>_______________________________________________<br>
gradsusr mailing list<br>
<a href="mailto:gradsusr@gradsusr.org">gradsusr@gradsusr.org</a><br>
<a href="http://gradsusr.org/mailman/listinfo/gradsusr" target="_blank">http://gradsusr.org/mailman/listinfo/gradsusr</a><br>
<br></blockquote></div><br></div></div>

<pre>***************************************************
The information contained in this e-mail message 
is intended only for the use of the recipient(s) 
named above and may contain information that is 
privileged, confidential, and/or proprietary. 
If you are not the intended recipient, you may not
review, copy or distribute this message. If you have
received this communication in error, please notify 
the sender immediately by e-mail, and delete the original message.
***************************************************