Why did apple make an model with 8 gigs of RAM when its only accesible up to 4 gigs?
http://www.apple.com/macbookpro/specs.html
2GB (two 1GB SO-DIMMs) or 4GB (two 2GB SO-DIMMs) of 1066MHz DDR3 SDRAM; two SO-DIMM slots support up to 4GB
Doing large J2EE web application development, I run into paging on my 3GB MBP (older one that can't use 4GB) and my 4GB Dell (running Ubuntu or XP) all of the time.
What I'm doing simultaneously that drives that need:
1. Opening multiple, large IntelliJ and/or Eclipse projects: about 512MB to 1GB used per
2. Running our app on JBoss with 1GB to 2GB heap space: min 1.5GB used
3. Running a 2nd Tomcat app server to test: probably about 256 - 512 MB used
4. Compiling in Maven2: 1.25GB when running automated tests probably 768MB for incremental builds
5. Entourage: hundreds of MB
6. Firefox 3: as much as it can grab!
Then add in the occasional OmniGraphel, Excel, Word or other office app and you are paging like a madman. (Not to mention if I have to fire up VMWare to test with IE or run one of our company's Win32 only office applications)
I know iFixit has been silent since some time - but just throwing it out here -
It is very much possible that the OSX build that is on the MBP has hard coded limits in the kernel that specify the maximum amount of memory to use and/or there are other parameters that are tuned for operation with <= 4GB RAM.
If one takes a Leopard DVD that comes with a recent Mac Pro and hacks it (there are script checks for model numbers in the DVD/installer which prevent Leopard build shipped with say a Mac Pro from being installed on a later Generation Macbook Pro - but those are very easily subverted - you just have to enter the model # of the target mac into a array after copying it to say a USB or Firewire disk.) to install on the 8GB Mac Book Pro - we might see that the Mac Pro OS X kernel build works fine (i.e. uses all 8Gb as it is very likely tuned for more than 4GB RAM).
I know this sounds like a lot of work to do but it will clear up or confirm the suspicion that the OS build is the problem.
Or better yet - ship me the machine with 8Gb installed and I will do all tests for you, iFixit!![]()
If firmware was the issue - it would result in hard lockups or the OS wouldn't see the total 8GB at all. In this case the OS sees all the 8GB but doesn't use it. I can't imagine how the firmware would cause this.
Three of us have independently tried this (8 gb) with the same result, thus it is unlikely that faulty RAM is the culprit.
Can you tell us whether 6 GB runs fine or has problems as well?
This may be a bit off topic but I am having trouble having new 2.4 MBP freeze often after having installed 4g kit. There seems to be a lot of knowledge on this thread. Others are seeing the same thing and using different brands. I have tried different sticks, albeit both were Patriot. I have had great luck with Patriot before as have others. What's up with this? Are there some timing settings that can be set? No idea but frustrated.
Not only debugged - I have written quite a bit of OS code and I can tell you this much - that if firmware is disabling access to parts of RAM - the OS will NOT SEE it. And we know very well that the OS sees it in this case.Have you never debugged any code?
So the firmware now knows: 2 x 4 GB. And it reports it to the OS, so the OS knows that there is 8 GB of RAM physically inside the computer. The firmware also knows that it cannot actually use the complete 8 GB of RAM. Maybe it can use 7.25 GB. So some code needs to be executed that sets up the RAM properly. If everything was done in the best possible way, 4 GB of the first chip would be used, and 3.25 GB of the second chip. The remaining 0.75 GB would be marked so that the operating system never, ever tries to touch it. So there are two different numbers: 8 GB RAM physically present, 7.25 GB usable. And that is where there is likely some bug in the firmware.
Maybe there is code in the firmware that says "If first chip = 2GB and second chip = 2GB and total limit = 4GB then use 3.25 GB". And nobody bothered to adapt that bit of code to the new machines. That would make sure that the machines will crash if you have 8 GB RAM. Or the code could be "If (old hardware) then limit = 3.25 GB else limit = 7.25 GB. If first chip + second chip > limit then use 3.25 GB". With some stupid bug like that, 4 GB + 1 GB or 4GB + 2GB would be fine; 4 GB + 4 GB would only be able to use 3.25 GB.
REAL question here is what 64-bit Linux and 64-bit Vista report - if they use all 8G - there is no firmware issue there. If they cannot then at least Linux boot logs will shed a lot more light on WHY the 4Gb is not usable. Until then it is all vague talk.
Would Boot Camp allow Vista 64 to run without these limitations? (i.e., Boot Camp doesn't use the EFI?)
Boot Camp is nothing but a compatibility BIOS shim which is implemented on top of EFI - it emulates the BIOS and talks to EFI to get the real things done. So I would not be surprised if any bug in the firmware applied equally to Vista and OSX.
So you're saying "maybe, but not definitely"? If so, then I won't bother to install Vista 64 on my MBP.
Right now it has 6 gb. My other 4 gb stick is collecting dust because it caused such a drag on my system when it was 8 gb.
I think it would still be worthwhile to try putting in the 8GB and boot preferably a 64-bit Linux Live CD - download the iso from here - it is just 158Mb - burn it to CD and boot it.
No need to install or change your disk - if you are willing, I can tell you what info to post - it will tell us what is going on. Of course I am not responsible if it eats your machine but that hasn't happened so far
as I understand you've already tried 8Gb RAM without any problem to the machine itself, right?![]()
It'll show up as "Windows" on a disc but it is Debian.OK, my MBP is busy for about another 45 min, then I'll give it a try. I assume I do the same as always - restart the Mac while holding the option key and wait for the debian CD to show up as a boot option?
OK, my MBP is busy for about another 45 min, then I'll give it a try. I assume I do the same as always - restart the Mac while holding the option key and wait for the debian CD to show up as a boot option?
OK, I've booted from the CD, but it's wanting me to install. Here are the four menu items:
Install
Graphical install
Advanced options (submenu)
Help
I really don't want to install anything unless I can do it to an external drive. Can I just boot into a shell or something from the CD?
Thanks and sorry if I was unnecessarily verbose above - I wasn't sure of how much familiar you are with Linux.
What is the "alt" key on my MBP?
I'm at a blue and white text screen and I'm asked to input a language (it's on English now). Is this where I press the key combination?
And I have an ethernet cable connected.
free -m > /tmp/free.out
When I type this one I get the following message on the terminal:
BusyBox v.1.10.2 (Debian 1:1.10.2-2) multi-call binary
Usage: free
Is this supposed to happen?