That all relies upon the size of your photographs and the complexity of your editing needs. You'll need 8GB as an absolute minimum. However, 16GB or more prominent would be best, especially if your photographs will, in general, be more significant.  More RAM is consistently something worth being thankful for with requesting assignments like photo editing. Thus if your laptop and budget support it, 32GB or more can undoubtedly be suggested.