Photoshop will use as much spare memory as the settings will allow. However, it depends on what you'll be doing in Photoshop. If you're doing beginner-level editing, less RAM should be allocated; for high-end images, more RAM is required.