Skip to main content

Lion's eat RAM's

I recently purchased a Mac-mini(Yes I own a Mac now) with relatively the same hardware specs as my(well the one I work with) MacBook pro, Intel Core i5,Graphics 3000(or whatever) etc. The only difference being that the ram in the Mini was only 2GB and the Laptop has 4GB,we will come back to this later.

The MacBook Pro experience: My experience with the laptop has been great,never lagging and I really got used to using a track-pad instead of a mouse and found gestures very helpful for quick desktop management with a small screen.It was also very responsive and I keep tons of windows open all the time without problems.



 When I got my Mac Mini,I popped it out of its box and plugged it in to my standard PC peripherals,switched it on and everything worked fine ,I got a few nice surprises too,I did not expect it to come with a wireless card or built in Bluetooth,just like it does on the MacBook.

Then I tried to run Safari,iTunes and Xcode all at once(I do this often while working on the MacBook) and things where not so fine anymore ,the Dock was slow to respond and animate and everything was sticky.So I downloaded an app that shows memory usage in the finder bar,and Wow was I surprised,20MB free is the kind of thing you expect to see when running a hefty virtual machine,not 3 apps,it's crazy even for a 2 gig machine).

 Some research into the subject revealed that OSX Lion uses as much RAM as it can so that it has quick access to data for applications,making them more responsive,however I was getting the opposite on my Mini with 2GB of RAM,compared to the awesome performance of the 4GB in the MacBook,So to me it seemed that 2GB of RAM just wasn't enough for Lion.

I decided to obtain a 4GB chip to stick along side one of the 1GB chips already in the Mac-Mini and I proved myself right. From startup Lion gobbled up 2 of my RAMs(2GBs of RAM,I'm trying to be metaphorical) but proceeded to be smooth and quick,exactly what I'm used to on the MacBook Pro,after starting up a virtual machine and numerous other applications I noticed that nearly all of my 5GB of ram was gobbled up (I had 10MB free) but I didn't notice a performance drop like I did when I only had 2GB of ram. So whats the point of this story?


 Well the point is OSX Lion is great but if you intend running it,make sure your machine has at the very least 4GB of ram or your experience will be tarnished PS: I realize that I may have written this article badly,but its 12:45AM so that's my excuse.

Comments

Popular posts from this blog

Setting up Qt Creator for assembly

After fiddling with inline asssembly (not very successfully) ,I recently decided to try writing proper assembly and compiling with NASM in Linux. After writing a hello world using gedit and having a terminal open for compiling,linking and running I had a thought.,there has to be a better way to do this. So I tried Qt Creator ,because I know it's easy to add custom build and run commands,and what do you know? I got it to work. Here's how,my screenshots and assembly code are in Linux but the set up should be the same regardless of the operating system,if you are not using Linux then just use the same commands you use to assemble in your operating system. First off ,create a new console application: I named mine ASM Rename the main.cpp to main.asm and delete all the text inside.then insert some assembly: Now open up the “Project” tab and edit the build settings,remove the current build and clean steps and remove the “-build-desktop” from the en

Using delegates in Objective-C

Why use delegation? Well when writing Objective-C programs in Xcode we are encouraged to use the MVC(Model View Controller) structure.In MVC a model cannot send messages directly to a specific controller.This can become a problem if data in your model changes independantly and you need to update this information in your view via the controller(The model must never communicate directly with the view).This is where a delegate comes in,it allows messages to be sent from the model to a controller that is not specified in the model but is rather specified by the controller,in other words the controller specifies itself. If you dont really understand what im talking about so far ,don't worry.I didn't understand delegates either until I needed one,but hopefully by the end of this tutorial you will understand not only how to use a delegate ,but the reason you would want to use one. Program breakdown For this tutorial we will write a program that has a model that will change an

Fix ssh -Y with other Macs OSX 10.8 Mountain Lion

You may have realised that when you try use ssh -Y on another Mac from Mountain Lion you get the following error : Warning: No xauth data; using fake authentication data for X11 forwarding.X11 forwarding request failed on channel 0 Fixing this error only takes some simple configuration. All you have to do is add these lines to the following files on both machines: /etc/sshd_config X11Forwarding yes XauthLocation /opt/X11/bin/xauth XauthLocation /usr/X11R6/bin/xauth /etc/ssh_config XauthLocation /opt/X11/bin/xauth XauthLocation /usr/X11R6/bin/xauth That should be all you need to get rid of the authentication error. Hope this was helpful.