U.S. memory chip and optical communications stocks climbed, with Micron Technology gaining over 7%. Seagate Technology and Western Digital rose over 9%.