Depends what motherboard. Ivy Bridge/Haswell desktops and small servers have official support for 8GB per slot so in most cases 32GB max. Laptops the same but since they have ( usually ) 2 slots then 16GB will be max.
Notebook Dell n5110, motherboard Intel HM67