Question

In the past month I am having some serious performance issues with my MacBook Pro (2008 model).
From the activity monitor, I get that the CPU usage is low (25%), disk usage is low (256 GB SSD drive, 50% free), network activity almost null.
What concerns me is system memory usage; of the 4GB RAM I have:

Free: 35 MB
Wired: 1.1 GB
Active: 1.9 GB
Inactive: 900 MB
Used: 3.99 GB
VM size: 650 GB
Swap used: 11 GB

I have nothing particularly heavy running. Could it be that, since I have not rebooted for a few months, some executables keep requiring memory slowing the system down (memory leak)?

Is it possible to recover unused but locked memory, without a reboot?

Was it helpful?

Solution

To answer your question, yes, applications and processes continue to start up and if you have not manually closed them or restarted the computer, you will be "losing" RAM. You can turn the inactive memory into free memory with this command in Terminal:

sudo purge

You can also run Activity Monitor to diagnose what apps are running and sort the list by most memory.

OTHER TIPS

I noticed Chrome got mentioned.

Chrome too give me memory trouble. Especially when I open Google Drive, it just go crazy and eat all the RAM, and subsequently all the swap it can get.

Switch to Safari and regularly restart memory leaking applications. There's no other way round.

Reboot your machine. You'll free up both memory and disk space.

Licensed under: CC-BY-SA with attribution
Not affiliated with apple.stackexchange
scroll top