Out of the box the Sandbox VM is configured to 2GB
I can start ambari with these values.
I have also reconfigured my VM to use 4096MB of RAM and ambari started as expected.
I would suggest this is probably an issue in your Virtualizing Software.
Have you tried to use VMWare Player for Windows?