Be careful with buying non-Dell branded memory. Dell's have a history of compatibility with some brands of memory. No particular memory, one brand may work on one PC and same brand not on another exact same model. For that reason we always recommended the Crucial memory as it is guaranteed to work in Dell's. Avoid the Kingston Value RAM (KVR) as it is a known issue with many PC brands. If you buy locally, buy somewhere that has a liberal return policy in case it doesn't work.
There are two XPS 17 models, L701X and L702X. The max memory, according to what I see in the Dell manual depends on whether you have two or four memory module connectors (slots). 4GB is Maximum for each slot, thus if you have two memory slots then 8GB (two 4GB memory modules) would be maximum. If you have four memory slots then 16GB (four 4GB memory modules).
You need to get the compatible memory.
Specs (from Crucial): DDR3 PC3-10600 • CL=9 • Unbuffered • NON-ECC • DDR3-1333 • 1.35V