Mac RAM File Cache & VMWare Fusion

I have 16GB RAM in my Mac Mini; maxed out! I’ve been using all of it lately. I’ve even crashed the Mini because it used 100% of the RAM. Never done that before.

After some experimentation I’ve found that rebooting the Windows 7 virtual machine, running in VMWare Fusion 5.0.4, does not release RAM retained for File Cache. No idea why; I didn’t take the time to wait between reboots to see if the RAM would eventually be released.

The “fix” I’ve found is to purge the memory. Basically, it’s a manual release of the RAM allocated to File Cache.

sudo purge

End & Home Keys in OS X

I’ve recently moved from Windows 7 to OS X. I’m keeping my PC keyboard though and one of the most disturbing differences I’ve found between the two OSes is the lack of support for the Home and End keys. So here’s the fix:

  1. Create the following file, if the directories don’t exist on your system, create them.
  2. You’ll want to add the following bindings. You’ll need to logout and in to see the bindings take effect.
    Also note that these don’t work in terminal. There are other instructions online for that app, do some Googling.

        "\UF729"  = "moveToBeginningOfLine:";
        "\UF72B"  = "moveToEndOfLine:";
        "$\UF729" = "moveToBeginningOfLineAndModifySelection:";
        "$\UF72B" = "moveToEndOfLineAndModifySelection:";