If these 3 beeps sounds like 1 long and 2 short beeps, then its not RAM failure, but faulty graphics card which is most likely integrated in to motherboard and not replaceable.
If your laptop is HP Pavilion with nVidia graphics, then its well known manufacturing fault.