The L501X can support up to 8GB memory (DDR3 1333 MHz, 1.35v) but you must have 64-bit Windows installed as 32-bit Windows cannot address more than about 3.3GB (after deducting memory reserved for hardware).
Crucial website is the best source as they make sure you only get RAM that's compatible with your model.
The information on Computing.Net is the opinions of its users. Such
opinions may not be accurate and they are to be used at your own risk.
Computing.Net cannot verify the validity of the statements made on this
site. Computing.Net and Purch hereby disclaim all responsibility
and liability for the content of Computing.Net and its accuracy.