<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Doesn't seem to be any limit to memory. Also "top" indicates I have 3.3GB available.<div><br></div><div><blockquote type="cite"><div><font class="Apple-style-span" color="#000000">cputime unlimited</font></div><div><font class="Apple-style-span" color="#000000">filesize unlimited</font></div><div><font class="Apple-style-span" color="#000000">datasize 6144 kbytes</font></div><div><font class="Apple-style-span" color="#000000">stacksize 8192 kbytes</font></div><div><font class="Apple-style-span" color="#000000">coredumpsize 0 kbytes</font></div><div><font class="Apple-style-span" color="#000000">memoryuse unlimited</font></div><div><font class="Apple-style-span" color="#000000">descriptors 256 </font></div><div><font class="Apple-style-span" color="#000000">memorylocked unlimited<
/font></
le-style-span" color="#000000">maxproc 266 </font></div></blockquote><div><br></div><div><br></div>-Jamie<br><div><div>On Oct 2, 2009, at 3:32 PM, Wei Huang wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Jamie,<div><br></div><div>Your Mac has 8G memory, does not mean your NCL can use all of them.</div><div>You may have other program running, such as your dock, web browser, finder, etc.</div><div>For example, I have firefox running, which takes about 150M.</div><div><br></div><div>Also, there may be per process limit on your mac, and you may </div><div>use "limit" command to see if there is a limit on each process.</div><div><br></div><div>Thanks,</div><div><br><div apple-content-edited="true"> <span class="Apple-style-span" style="font-family: 'Times New Roman'; font-size: 12px; "><div style="word-wrap: break-word
; -webki
it-line-break: after-white-space; "><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: 'Times New Roman'; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: 'Times New Roman'; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; wido
ws: 2; w
-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div><div>Wei Huang</div><div><a href="mailto:huangwei@ucar.edu">huangwei@ucar.edu</a></div><div>VETS/CISL<br>National Center for Atmospheric Research<br>P.O. Box 3000 (1850 Table Mesa Dr.)<br>Boulder, CO 80307-3000 USA<br>(303) 497-8924</div></div><div><br></div></div></span><br class="Apple-interchange-newline"></div></span><br class="Apple-interchange-newline"></div></span><br class="Apple-interchange-newline"> </div><br><div><div>On Oct 2, 2009, at 3:10 PM, Jamie Scott wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">I'm running the latest ncl binary for the intel-ma
c (downl
g-5.1.1.MacOS_i386_9.7.0.tar from ESG),<div>and I'm unable to allocate more than 3.5GB before getting a malloc error. I was allocating 200mb variables to see where</div><div>the limit was. </div><div><br></div><div><blockquote type="cite"><div><font class="Apple-style-span" color="#000000">ncl(46785) malloc: *** mmap(size=200003584) failed (error code=12)</font></div><div><font class="Apple-style-span" color="#000000">*** error: can't allocate region</font></div><div><font class="Apple-style-span" color="#000000">*** set a breakpoint in malloc_error_break to debug</font></div><div><font class="Apple-style-span" color="#000000">fatal:NclMalloc Failed:[errno=12]</font></div><div><font class="Apple-style-span" color="#000000">fatal:New: could not create new array:[errno=12]</font></div><font class="Apple-style-span" color="#000000"> br></font></blockquote></div><font class="Apple-style-span" color="#000000"><div>So it appears this binary is 32-bit instead of 64. &
nbsp;Is
something else wrong? If so, is it possible to make a 64-bit binary?</div><div><br></div><div>I'm using mac OS X 10.58 on and intel-mac with 8GB memory. </div><div>Darwin Kernel Version 9.8.0: Wed Jul 15 16:55:01 PDT 2009; root:xnu-1228.15.4~1/RELEASE_I386 i386 i386</div><div><div><br></div><div><br></div><div>Thanks,</div><div><br></div><div>Jamie Scott</div></div></font></div><font class="Apple-style-span" color="#000000"> _______________________________________________<br>ncl-talk mailing list<br>List instructions, subscriber options, unsubscribe:<br><a href="http://mailman.ucar.edu/mailman/listinfo/ncl-talk">http://mailman.ucar.edu/mailman/listinfo/ncl-talk</a><br></font></blockquote></div><br></div></div></blockquote></div><br></div></body></html>