Mac OS Memory Management Script