Photoshop displays the RAM available to Photoshop and the ideal range of RAM for Photoshop (a percentage of the total available RAM) in Performance preferences.
In Performance preferences, enter the amount of
RAM you want to allocate to Photoshop in the Let Photoshop Use text
box. Alternatively, drag the slider.