Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Can of worms?



Hi everyone

Drew asked:
I don't want to open this can, but I need a straight answer, and I can't remember ever seeing one.
I want to be able to use more than 2Gb of memory in a fortran program compiled with XLF for Mac OS X. Is this possible? A yes/no answer will suffice.

And Jao answered:
No

limitation is OS X, not Xlf (32 bit OS)

But some time ago Fred Brown wrote:
Assuming you are using OS X,
. OS X only gives you  a 32 bit address space ie 4GB,
. I think they put the shared libraries etc in the middle of the address
space,
. So you probably cannot get a contiguous region larger than 2GB,
. and the total available may be only 3.5GB.

So if I understand Freds secondand third point correctly, the 2 GB limit is not as fundamental as the 4 GB limit due to the 32-bit adress space. How much trouble would it be to put the shared libraries and other stuff somewhere near one of the edges of the adress space? Is that handled somewhere deep down inside the guts of Darwin, requiring custom-tweaked kernel recompiling to make any changes (which is probably beyond what many of us want to get involved in)? But if there was some easy way to move the libraries etc out of the way, would that give us something like 3.8 GB of contiguous memory, or would the 2 GB still kick in because of some other limitation? And if so, what would that limitation be and what would that require to fix it?


kind greets,
Peter
--

+++++++++++++++++++++++++++++++++++++++

The requirements said: Windows 2000 or better.
So I got a Macintosh.



Peter Klaver
private:
Noordeinde 28
2311 CE Leiden
071-5137357

at work:
Delft University of Technology
e-mail email@hidden
room 222, 015-2789518
Rotterdamse Weg 137
2628 AL Delft
the Netherlands
_______________________________________________
scitech mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/scitech
Do not post admin requests to the list. They will be ignored.


References: 
 >Can of worms? (From: Drew McCormack <email@hidden>)
 >Re: Can of worms? (From: Jao van de Lagemaat <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.