nativeInstaller

Modify the memory required by the OS X VM

To check the required memory of your VM, open a terminal and run the command below. Replace the APP_NAME placeholder with the correct directory name:

$ cat ~/.bitnami/stackman/machines/APP_NAME/metadata.json | jq '.requiredMemory'

NOTE: You can install jq on your Mac by running brew update && brew install jq

To change the VM required memory, follow these steps:

  • Launch the stack manager by double-clicking the VM icon in the mounted disk image.
  • Stop the VM.
  • Close the stack manager.
  • Open a terminal and change the requiredMemory running the command below. Replace the MEMORY placeholder with the value you want to set:

    $ cat ~/.bitnami/stackman/machines/APP_NAME/metadata.json | jq '.requiredMemory = MEMORY' | tee ~/.bitnami/stackman/machines/APP_NAME/metadata.json
    
  • Launch again the stack manager by double-clicking the VM icon in the mounted disk image.

  • Start the VM.

  • Open a Terminal by clicking the “Open Terminal” button you will find in the “General” tab.

    [![Open Terminal](/images/img/platforms/installer/open-terminal-osx-vm.png)](/images/img/platforms/installer/open-terminal-osx-vm.png)
    
  • Verify the allocated memory running the command below:

    $ free -h
    
Last modification September 6, 2018