[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]
Re: st: 64 Bit Memory
Jon Haveman (email@example.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
> 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
> 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
> 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.
* For searches and help try: