Statalist The Stata Listserver


[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

Re: st: 64 Bit Memory


From   David Airey <david.airey@Vanderbilt.Edu>
To   statalist@hsphsun2.harvard.edu
Subject   Re: st: 64 Bit Memory
Date   Sat, 26 May 2007 21:10:59 -0500

Yet Jon says he installed the command line version of Stata-MP for Mac. That too, aside from the GUI version, is limited to 2G of memory until Leopard?

-Dave





Jon Haveman (jon@beaconecon.com) asked about memory allocation
in Stata/MP on a Macintosh:
> I have just installed the command line version of Stata-MP on my Mac
> Pro.
>
> From reading on Stata's website, it was my impression that I would
> be able to access memory substantially above the 2G level. However,
> I can't seem to get set mem to give me more than 2250m.
>
> . set mem 3g
> stata-mp(2404) malloc: *** vm_allocate(size=3221225472) failed (error
> code=3)
> stata-mp(2404) malloc: *** error: can't allocate region
> stata-mp(2404) malloc: *** set a breakpoint in szone_error to debug
> op. sys. refuses to provide memory
> r(909);
>
>
> I have 13G installed.

Let me first say that memory allocation works the same way for Stata/SE
and Intercooled Stata. The fact that Jon is using Stata/MP does not
affect memory allocation.

Jon is using a Mac Pro, which has a 64-bit processor. Although
Jon's hardware is 64-bit, his Mac OS X operating sytem is NOT
fully 64-bit. In particular, the user interface API for GUI
applications is not ready for 64-bit programming. Thus, Stata
must for now be a 32-bit application on Mac OS X until Apple
makes full 64-bit support available for GUI applications.

This explains why Jon cannot allocate more than 2 GB of memory
to Stata. Jon's operating system is not yet fully 64-bit, and
so Stata cannot be 64-bit on it. On true 64-bit platforms,
Stata can allocate as much memory as is available on the system.
On a platform such as Mac OS X where Stata is restricted to a
32-bit address space, only about 2 GB of memory may be allocated.


--Alan Riley
(ariley@stata.com)

*
*   For searches and help try:
*   http://www.stata.com/support/faqs/res/findit.html
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/



© Copyright 1996–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index