added the missing memory check script to OS X