Would the 13 inch MacBook Air with 4GB RAM, 128GB SSD and 1.7GHZ Dual Core Processor be suffient for app development using XCode, or would it be slow and laggy?
that will be perfect. Belive it or not, some people use a C2D machine with 2GB RAM and a regular hard drive to make apps and they do just fine.
As for Xcode, a machine capable of running Lion with 4GB would be my minimum requirement.
Uh ? My XCode takes less than 100 MB of RAM with a 5k or so line project opened (small source files between 100-200 lines each) and tons of ressources (of course, not everything is opened).
No really, it's not XCode that's a problem, it's actually very light as far as IDEs go.
5k lines is nothing. I use Xcode 4 at work for our large projects and it uses multiple GBs of RAM easily on those. Xcode 3 was much lighter - Xcode 4 is an enormous memory hog in comparison.
Why do you open all the source files instead of just the ones you're actively working on ? XCode won't load up the entire project into memory, just the files you're actively editing.
Or maybe you're just mistaking on how much RAM XCode is actually using.
Remember guys, we were editing and making these projects in the 90s on computers with paltry amounts of RAM.
I've seen you post about your lightweight XCode before, did you get a special build or something?
Uh ? My XCode takes less than 100 MB of RAM with a 5k or so line project opened (small source files between 100-200 lines each) and tons of ressources (of course, not everything is opened).
No really, it's not XCode that's a problem, it's actually very light as far as IDEs go.
Just opened Xcode 4 (on Snow Leopard running on a Core Duo 32-bit processor) into my CameraTime project. Real memory used was 115MB and 94MB of virtual memory.
A compile uses more memory, but doesn't seem to return all of that memory back to a free state. Hmm, a leak maybe.
Mem: 446640k total, 300412k used, 146228k free, 20k buffers
Swap: 1048572k total, 0k used, 1048572k free, 187116k cached
One thing that is nice to have is a big screen so you can lay out the user interfaces for your apps (especially iPad and iPhone Retina display), and see lots of code and logs at once.
This is one of those questions that should just be locked because if you're asking a question like this, you probably haven't spent any time coding or you'd know the answer to already. The Macbook Air is one of the faster machines out there!
Everyone starts somewhere. No need for to be condescending. However, this is one of those questions that should be stickied if you ask me, it comes back way too often... but then again, most newbie posters don't read the stickies (something easily identified with all the "Where do I start ?" questions we get, even though there's a big "WHERE TO START!" sticky at the top).
Not trying to be condescending at all, I love helping newbies out. But it seems a lot of people are far too worried about their tools and never get any work done. 16GB RAM, huge hard drives, just buy it when you need it.
So you're using 115 MB of memory. Virtual Memory is not swap space here, it's the virtual address space in the kernel that combines all RAM/Register/Swap space into one big address space for userland programs to use without having to know the intricate details of memory management.
People often misuse "Virtual memory" to mean swap, unfortunately a side effect of using Windows for too long which is responsible for this misnomer.
Nope, no leaks, it returned the memory to the inactive sate, not the free state (free memory is wasted memory anyhow).
There is such a thing as overspeccing memory.
BTW, safari 2GB of RAM ? Switch to a better browser.
Does anyone have a good link that explains the columns in Activity Monitor?
That only describes the bottom values, not the columns. Also, your link is broken. It is upper case HT1342.
Link works just fine with the lower case, clear your cache, that's a known bug with Safari and Apple's site.