Every shortage is followed by a glut. Wait and see for RAM prices to go way down. This will happen because RAM makers are racing to produce units to reap profits from the higher price. That overproduction will cause prices to crash.
if it gets really bad though the superscalers will guarantee them enough business years out to make the investment worth it