I see from your title that you are using 64-*bit Windows.
Some of the memory ( 500 MB ) may have been allocated to hardware. You can determine that by using resource monitor. Open C:\Windows\System32\resmon.exe and click Memory tab. You have the info there, hardware reserved, in use, etc. If your Windows is not on C:, change it to your boot drive letter.