Re: x11-users digest, Vol 1 #453 - 15 msgs
Re: x11-users digest, Vol 1 #453 - 15 msgs
- Subject: Re: x11-users digest, Vol 1 #453 - 15 msgs
- From: Jonas Maebe <email@hidden>
- Date: Thu, 6 Nov 2003 11:25:02 +0100
On donderdag, nov 6, 2003, at 10:54 Europe/Brussels, Wolf Schweitzer
wrote:
Does anyone know how to get X11 ( OS X Panther) to recognise 8 GB of
RAM
memory? It only recognises 2 GB so far, so we've actually got 6 GB of
junk
sitting around here right now.
No, you don't. Even if every process is only limited to 2 or 4 GB,
other processes (and the kernel, e.g. for caching) can still use the
other memory. Additionally, programs using the X11 window server do not
get their memory from the X11 subsystem, they get it straight from the
OS (like all other programs). So even if the X11 window server is a
32bit program, this has nothing to do with whether or not the programs
using the window server can allocate more than 2 or 4GB memory.
Now, for those programs to be able to address more than 4GB of memory,
they would at least have to be recompiled as 64bit programs. However, I
don't know whether there are already API's that allow a program to run
in a 64bit address space (and associated gcc flags to tell it to use
64bit pointers, not just 64bit arithmetics).
Finally, keep in mind that as long as you are running in a 32bit
address space, that there is a difference between not being able to
allocate more than 2GB and not being able to allocate more than 2GB in
one contiguous block. It's quite possible that you cannot allocate
2.5GB block, but that you can allocate a 2GB and a 500MB block. The
reason is that part of the memory space has to be used to map shared
libraries etc., which may get in the way.
Jonas
_______________________________________________
x11-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/x11-users
X11 for Mac OS X FAQ: http://developer.apple.com/qa/qa2001/qa1232.html
Report issues, request features, feedback: http://developer.apple.com/bugreporter
Do not post admin requests to the list. They will be ignored.