Cleveland’s Galleria at Erieview, like many malls across the country, is suffering. Closed on weekends because there are so few visitors, it is down to eight retail stores, eight food-court vendors and a couple of businesses like the local bar association.

So part of the glass-covered mall is being converted into a vegetable garden.

“I look at it as space, I don’t look at it as retail,” said Vicky Poole, a Galleria executive. “You can’t anymore.”

Malls, over the last 50 years, have gone from the community center in some cities to a relic of the way people once wanted to shop. While malls have faced problems in the past, the Internet is now pulling even more sales away from them. And as retailers crawl out of the worst recession since the advent of malls, many are realizing they are overbuilt and are closing locations at a fast clip.

The result is near-record vacancy rates at malls of all kinds, both the big enclosed ones and the sprawling strips. Sears Holdings is closing up to 120 stores, Gap Inc. 200 stores and Talbots 110. Abercrombie & Fitch closed 50 stores last year, Hot Topic, almost the same number. Chains that have filed for bankruptcy in recent years, like Blockbuster, Anchor Blue, Circuit City and Borders, have left hundreds of stores lying vacant in malls across the country.