2

I'm developing a lot of Java software with Eclipse. My MacBook running Snow Leopard 10.6.8 with 4GB RAM and Core 2 Duo is very slow.

Would it help to use an SSD and upgrade RAM to 6 or 8 GB? I've read that SSD will make my MacBook much faster, but will it have an effect on Java development?

daviesgeek
  • 38,901
  • 52
  • 159
  • 203

3 Answers3

7

TL;DR: Yes on both accounts.

Start with RAM. Max it out at 8 GBs. My compile times dropped in half going from 4 GB to 8 GB -- swapping is a performance killer and the primary cause of the beach ball on OS X. More memory, less swapping. Happier development.

Then go SDD. In my case I went to an SDD in my DVD drive slot. I never used the thing so didn't think it was worth keeping around. Compile times for larger Java projects on the SDD vs the HD are consistently 3x faster on the SDD.

There's a caveat to all of this: SDDs are unreliable. When they fail, they fail hard. That's why I opted to keep my Main drive on a spinning platter drive. Also remember: Time Machine doesn't back up anything by your Main drive. So that means nothing on my SDD is backed up by Time Machine. Why am I okay with this? Two words: revision control. I only do things on my SDD that are backed by revision control. In my case git. And I push my changes upstream fairly frequently. If the drive fails, I'd lose an hour or two of work and that's not so bad. Everything else is safe on my remote repository in the cloud.

Ian C.
  • 45,969
  • Very nice one, thank you :-) A good idea to put only version controlled stuff on the SSD! Where can I find information which RAM to buy and how to install it? (same with SSD) – strauberry Sep 30 '11 at 14:58
  • I'm actually reversing the order of advice with many clients. Get SSD first - before you pick a CPU, before RAM - get it and a Time Machine drive that is always connected. You can always get RAM later. – bmike Sep 30 '11 at 15:12
  • 1
    @strauberry I bought everything through Amazon. RAM was Corsair, drive was OCZ and the mounting kit for it was OptiBay from MCE Technologies. – Ian C. Sep 30 '11 at 15:19
  • @bmike the trouble with going SSD first on my dev machines was the things that are likely swapping (jvm for Eclipse the java compiler) are still on non-SSD. So the SSD wouldn't help as much. But my needs aren't the needs of everyone, so evaluate accordingly. For certain: max RAM and an SSD can make an old machine feel very, very new again. – Ian C. Sep 30 '11 at 15:20
  • @IanC. but which RAM :-) And for what do I need a mounting kit? I don't want you to explain everything by detail, just a page where I can find that information ;-) – strauberry Sep 30 '11 at 15:24
  • This site discourages "where to shop" hardware questions - and also asking two unrelated questions. In the long run - shopping is about very personal tradeoffs - isolated in time - not generally something that has a "right" answer and will be useful a year later. Hit up the chat room if you want to poll the crowd here on where they buy ram ;-) – bmike Sep 30 '11 at 15:37
  • I should have qualified my comment to Ian C - Get the OS, your documents and your toolset on the SSD for my advice to be the best ;-) In your case, I agree totally - RAM it up and pre-load everything you can into swap/inactive RAM. – bmike Sep 30 '11 at 15:39
  • 1
    @strauberry the Crucial website has a memory selector tool on it that'll help you pick the right sticks for your make and model of machine. Most of the other RAM manufacturers have something similar. Who you buy from is up to you. – Ian C. Sep 30 '11 at 16:02
  • @bmike I'm still not comfortable putting it all on SSD. :( If it dies now, at least I can just keep working on the non-SSD. I'm not keeping another drive on the shelf for an emergency. The trade-offs of working for a small, globally distributed startup... – Ian C. Sep 30 '11 at 16:04
  • @IanC. memory selector tool is very nice, thank you :-) – strauberry Oct 01 '11 at 09:01
  • 1
    I bought an SSD and RAM at the MacBook runs like hell :-) Very nice! I've bought 2x 4GB SO-DIMM KINGSTON ValueRAM CL7 (DDR3-1066) and an OCZ VERTEX 3 SATA III 2.5″ SSD – strauberry Oct 09 '11 at 18:32
2

Upgrading to an SSD will make everything faster. Like, everything. Ok, so it won't make everything faster, but everything will feel quite speedy. Additional RAM will help as well, but you'll notice just an unbelievable difference in day to day usability and responsiveness.

Now, with that said, SSDs are still quite expensive. If you have an older computer, it might be better to spend the money on a new machine (such as an Air with an SSD) instead a significant amount just for the new drive. This depends on the size you want to get.

  • Thank you for this answer! I hoped that something like that will come out ^^ I've search a couple of time but I did not found a) a manual how to see whether my macbook is "prepared" for SSD and b) how to build it in... make a whole TimeMachine backup, put the ssd in, install Snow Leopard and say "restore from TimeMachine backup" during installation? Do you have any links to manuals :-)? – strauberry Sep 30 '11 at 14:54
  • Multiple approaches to install depending on your setup. If for example, you are installing the SSD in place of the SuperDrive, and will thus have two HDs installed, you can copy over stuff quite easily. If not, you'll need an enclosure of some kind, or backup to external, then restore from that. – chrismanderson Sep 30 '11 at 16:34
0

I upgraded my MacBook (see hardware specs here) and used the manuals from www.ifixit.com. The MacBook runs now very smooth and extremly fast :-)