16,588,800 / 1024 / 1024 = 15.82 MB + 2 = 17.82
</pre>
You must round this value up to the nearest power of two, which with the above example would be 32MB
It is suggested that you create the shared memory file before starting the VM with the appropriate permissions for your system, this only needs to be done once at boot time, for example (this is a sample script only, do not use this without altering it for your requirements):