After attempting to install ESXi 5.5 (and possibly other versions), you get the MEMORY_SIZE ERROR when you have 4G of RAM.
Original instructions here and here.
- Boot the system from the media with ESXi installer on it.
- After it boots and you get the welcome screen shows up, press Alt+F1 to go to the console.
- Login as root (no password).
- cd to /usr/lib/vmware/weasel/utils
- rm upgrade_precheck .pyc
- cp upgrade_precheck.py upgrade_precheck.py.old
- vi upgrade_precheck.py.old
- Find the line that sets the variable MEM_MIN_SIZE
- Change it to read something less than 4G (i.e. "3 * 1024" instead of "4 * 1024").
- Save the file (:w!) and exit.
- cp upgrade_precheck.py.old upgrade_precheck.py
- Do a "ps -c | grep weasel" and kill -9 the python proc.
- If it doesn't flip you back over to the installer, use Alt+F2 to get to the second console.
- Continue to install.