How much memory is installed on your physical computer?
As a general rule, max memory you can assign to a Virtual machine is half of your real system memory.
Example, lets say you have a mac system with 8 GB of RAM ( memory ).
For a virtual machine running under such a system you may allocate upto 4 GB of memory to the guest OS without compromising performance considerably.