(Reuters) - U.S. chipmaker Micron Technology Inc MU.O gave on Tuesday quarterly sales and profit forecasts well below Wall Street estimates, citing a market glut of memory chips as consumer and business demand for phones and computers is weakening.

Memory chip parts of U.S. memory chip maker MicronTechnology are pictured at their fair booth at an industrial fair in Frankfurt, Germany, July 14, 2015. REUTERS/Kai Pfaffenbach/File Photo

Micron said it expected industry output, including from South Korean rivals Samsung Electronics Co Ltd 005930.KS and SK Hynix 000660.KS, to outstrip demand from the makers of phones, PCs and servers, pushing down Micron chip prices.

Samsung had already warned of a slowdown in demand and drop in chip prices, flagging an end to a two-year boom in memory chips as global demand for mobile and other electronics devices wanes and fresh supplies from Hynix and Toshiba Corp 6502.T hit the market. Hynix has also offered a downbeat outlook.

Micron Chief Executive Sanjay Mehrotra told investors on a conference call on Tuesday that the company was taking “decisive actions in terms of reducing our production output” to hold the line on prices.

“We are always reviewing how to best align our output with market demand to focus on delivering healthy profitability,” Mehrotra said in an interview.

But the glut will hammer Micron in the short term, with the company estimating revenue of $5.7 billion to $6.3 billion for its fiscal second quarter and gross margins of 50 to 53 percent, compared to analysts’ estimates of $7.3 billion and 55 percent, according to I/B/E/S data from Refinitiv.

Shares of the Boise, Idaho-based company fell as much as 8.5 percent in extended trading after the forecast, before paring losses to 2.8 percent.

Asked about Micron’s comments, Hynix told Reuters that in the short term, the memory chip sector would struggle through a period of relatively low growth due to weak demand in the smartphone and PC markets, but the outlook would brighten in the long term.

Hynix shares were down 1.6 percent in late morning trading in South Korea. Samsung shares were up slightly.

“The worse may not be over yet if the end-market demand weakens further,” said analyst Kinngai Chan of Summit Insights Group.

Micron is responding to the oversupply of DRAM and NAND memory chips by investing more in its next generation of chips. Major suppliers to smartphone makers such as Apple Inc AAPL.O have lowered their sales forecasts, citing weak demand from device makers.

Data centers, which have been a boon for Micron as cloud computing providers like Amazon.com's AMZN.O Amazon Web Services have become massive businesses, were a weak spot in Micron's earnings. On the post-earnings call, Mehrotra cited "inventory adjustments" at data centers for the pressure on revenue.

Several chipmakers have cited strong demand in the months before U.S. tariffs were imposed on some Chinese goods, leaving analysts wondering if data center owners had tried to get in orders ahead of the levies.

“We expect this headwind will persist for a couple of quarters. We are seeing some cloud customers go through a digestion period following very strong growth over the last two years,” Mehrotra said.

Stifel analyst Kevin Cassidy said Micron was making the right move by slashing output instead of cutting prices to gain market share as it had in the past.

“We see today’s announcements as prioritizing profitability over market share gains,” he said.

Micron’s gross margin was 59 percent for the fiscal first quarter, and executives said U.S. tariffs on Chinese goods cut its gross margins by about half a percentage point, at the lower end of the negative impact it told investors in September.

Micron is ahead of schedule in addressing the expected impact of U.S. tariffs on its products, Manish Bhatia, Micron’s executive vice president of global operations, said in an interview.

“We made very good progress across multiple sites in our (factory) network taking the products that were being made in China and destined for the United States and quickly transferring them to other sites outside of China,” he said.

Net sales rose 16 percent to $7.91 billion, short of analysts’ expectations of $8.02 billion.

Excluding items, Micron earned $2.97 per share, narrowly beating the analyst average estimate of $2.96, according to I/B/E/S data from Refinitiv.