"purge" is sometimes a useful command to use in MacOS X It runs from a Terminal window.
It is (arguably) usefiul if memory runs short, and things run slow, though perhaps MacOS will eventually sort things out without intervention.
I wondered if it's worth running a script somewhat like the following, to keep things flowing:
#!/bin/bash
COUNTER=20
until [ $COUNTER -lt 1 ]; do
echo COUNTER $COUNTER
purge
sleep 300
let COUNTER-=1
done
I have tested a variant of that - but can't say that it really makes a lot of difference so far. It waits 5 minutes between each issuing of the purge command. It will repeat this 19 times (I think) so will run for about one hour and 35 minutes.
It is (arguably) usefiul if memory runs short, and things run slow, though perhaps MacOS will eventually sort things out without intervention.
I wondered if it's worth running a script somewhat like the following, to keep things flowing:
#!/bin/bash
COUNTER=20
until [ $COUNTER -lt 1 ]; do
echo COUNTER $COUNTER
purge
sleep 300
let COUNTER-=1
done
I have tested a variant of that - but can't say that it really makes a lot of difference so far. It waits 5 minutes between each issuing of the purge command. It will repeat this 19 times (I think) so will run for about one hour and 35 minutes.
Comment