Saturday, February 11, 2012

Using purge command in Mac

Have you ever heard about the command purge? Hmmm, never heard about it? Well, that’s means you are view the right page.

Let me change the question.

Have you ever met a situation like this?

8GB, but full figure 1

Holy shit, 8GB DDR3 memory is still not enough?


Most of the time, I will blame my default browser: chrome! Usually, when I quit chrome, it will free 3GB+ memory, and my Lion system will go smoothly again.

But, chrome is not always the reason of high consumption of my physical memory. I don’t know which one is using a huge bunch of memory then leave it as INACTIVE, just as figure 1 looks like. The blue pie is huge! and the most important thing is it is INACTIVE.

What’s next?

OK, here purge comes to rescue, open your terminal, then type:

 %: purge  

BOOOOM! my system looks like as below, and feels much more faster!

after using purge

What happened?

The story behind the scene is relatively complicated, you can read Apple’s document. But anyway, it’s a shortcut to free your valuable INACTIVE memory.

Don’t forget to follow me @TonnyXu

Via Tonny Xu Something really cool!, Tips

No comments:

Post a Comment