The recent decision by a U.S. judge to allow the City of Detroit to potentially shed billions in debt is raising concern among some for a Canadian city.

Some fear that Detroit's financial situation, which is the largest public bankruptcy in U.S. history, may be replicated in Calgary as the cities share similarities including reliance on a few key major industries and heavy investment in infrastructure.

Detroit was the once-mighty symbol of the United State's manufacturing strength but faced a long, slow decline in population and auto manufacturing.

High demands for Detroit-made industrial products, mainly automobile production starting in the 1950s, lead to rapid economic growth and a large tax base, reports Joseph Arvai for The Global and Mail.

The tax base was used to justify huge investments in infrastructure, which dwindled as residents started to move away, and key industry players moved away as competition rose and they found cheaper, more innovative alternatives.

"Just like in Detroit, much of Calgary’s current growth is built on an industrial base that is at the mercy of fickle consumers, and is increasingly under siege from competitors," says Arvai.

"Even if industry’s and government’s much-hyped pipelines are built, it’s only a matter of time before alternatives to energy from Alberta dominate the global marketplace," he adds.

Cities can take on large debts for infrastructure projects, but provinces enforce strict rules on how much debt can be inccured, CBC News reports.

"If they get into trouble — even with those rules — then the province would step in with a supervisor to help them," said Enid Slack, director of the Institute on Municipal Finance and Governance at the University of Toronto, earlier this year when Detroit first declared bankruptcy.

Many took to social media to share their thoughts if bankruptcy was in Calgary's future.

"Calgary is not Detroit & Canada is not the USA," said one user on Twitter, adding that the cities had many structural differences and that the article was flawed.

"Could this really happen to Calgary? Yes, it absolutely could. We're a one-horse town," said another.

Sun News television personality Ezra Levant took offense to the article, calling the author a, "Total kook. Embarrassment to the University of Calgary. Self-hating westerner," on Twitter.

Detroit's bankruptcy also means that the city will negotiate with its creditors, including retirees who are owed pensions, bondholders, insurers and other vendors.

Judge Steven Rhodes turned down objections in his ruling from unions, pension funds and retirees, which, like other creditors, could lose under any plan to solve $18 billion in long-term liabilities.

With files from The Canadian Press

Also on HuffPost:

Loading Slideshow...
  • The Caesars Windsor Casino stands in contrast to an abandoned warehouse in Detroit. (Photo by Bonnie Jo Mount/The Washington Post via Getty Images)

  • A tree stump sits among the ruins of the Packard Automotive Plant, a 35 acre site where luxury cars were manufactured until the 1950s on May 2, 2013 in Detroit. (Photo by Ann Hermes/The Christian Science Monitor via Getty Images)

  • Graffiti covers an abandoned building February 24, 2013 in Detroit, Michigan. (Photo by J.D. Pooley/Getty Images)

  • In a photo shot on Tuesday, Feb. 14, 2012, a dog looks out from behind a wall in an abandoned home in Detroit. (AP Photo/Carlos Osorio)

  • Abandoned houses are painted orange as part of Object Orange: Detroit, Disneyland, Demolition, are located off of the Davison Freeway service drive in Highland Park, Michigan on Thursday, May 18, 2006. (Photo by Jeff Kowalsky/Bloomberg via Getty Images)

  • Residents that live in Detroit's east end came out of their homes to watch the third abandoned building fire of the day at the corner of Frederick and Chene. (Photo by Lucas Oleniuk/Toronto Star via Getty Images)

  • In a July 31, 2012 photo, a boat is dumped in a field in east Detroit. Abandoned lots, alleys and neglected parks in Detroit used to be a favorite destination for discarded tires and trash. But over the past few months they have become dumping grounds for the dead. At least seven bodies have been found in some of the most desolated haunts in a half-empty city. (AP Photo/Carlos Osorio)

  • A City of Detroit fire station that was recently closed is seen February 24, 2013 in Detroit, Michigan. (Photo by J.D. Pooley/Getty Images)

  • Part of the Brewster-Douglass housing project site is shown in Detroit, Friday, March 18, 2011. (AP Photo/Paul Sancya)

  • The abandoned Detroit Public Schools book depository

  • Detail of unused books left to rot at the abandoned Detroit Public Schools book depository.

  • The view from the inside of the abandoned Fisher Body Plant in Detroit.

  • Graffiti covers a crumbling building February 24, 2013 in Detroit, Michigan. (Photo by J.D. Pooley/Getty Images)

  • The General Motors (GM) world headquarters is seen February 24, 2013 in Detroit, Michigan. (Photo by J.D. Pooley/Getty Images)

  • Detroit firefighters arrived on the scene of an abandoned dwelling fire at 2645/51 Frederick Street in Detroit's east end. (Photo by Lucas Oleniuk/Toronto Star via Getty Images)

  • A sign advertising building rates is seen on an abandoned building on February 24, 2013 in Detroit, Michigan. (Photo by J.D. Pooley/Getty Images)

  • An abandoned boat filled with trash sits on Conant Street in Detroit, Michigan, on Sunday, April 9, 2006. Detroit eliminated bulk trash pick up three months ago due to budget cuts. (Photo by Jeff Kowalsky/Bloomberg via Getty Images)

  • A man walks past an abandoned house that is painted orange as part of Object Orange: Detroit, Disneyland, Demolition, located off of the Davison Freeway service drive in Highland Park, Michigan on Thursday, May 18, 2006. (Photo by Jeff Kowalsky/Bloomberg via Getty Images)

  • Barbed wire blocks the entrance of the abandoned Michigan Central Station on May 2, 2013 in Detroit, Michigan. The station was opened in 1913, closed in 1988, and has fallen into disrepair since. (Photo by Ann Hermes/The Christian Science Monitor via Getty Images)

  • Steam rises from a manhole at dawn among abandoned buildings and factories along East Warren Avenue on May 2, 2013 in Detroit, Michigan. (Photo by Ann Hermes/The Christian Science Monitor via Getty Images)

  • A man walks past the abandoned East Grand Boulevard Methodist Chruch on May 2, 2013 in Detroit, Michigan. (Photo by Ann Hermes/The Christian Science Monitor via Getty Images)

  • Two abandoned apartment buildings burn on Waverly Street in the declining Detroit enclave of Highland Park. Last year the Detroit Fire Department received 27,000 calls. (Photo by Lucas Oleniuk/Toronto Star via Getty Images)

  • Michigan Central Stationis Detroit's most famous ruin, with the train station last open in 1988. Designed by the same architects as New York's Grand Central Station.

  • An interior shot of the massive Michigan Central Station.

  • A worker measures the former Detroit Fire Department Ladder No. 10 firehouse on Mt. Elliott in Detroit, Wednesday, May 8, 2013. Detroit plans to sell seven unused firehouses and a renovated but long-vacant police facility that once housed horses as part of an effort to raise money and encourage redevelopment. (AP Photo/Paul Sancya)

  • A July 31, 2012 photo shows a memorial to two killed teens whose decomposing bodies were found July 27 in a field in east Detroit. Abandoned lots, alleys and neglected parks in Detroit used to be a favorite destination for discarded tires and trash. But over the past few months they have become dumping grounds for the dead. At least seven bodies have been found in some of the most desolated haunts in a half-empty city. (AP Photo/Carlos Osorio)

  • This Oct. 24, 2012 file photo shows a graffiti-marked abandoned home north of downtown Detroit, in background. (AP Photo/Carlos Osorio, File)

  • Graffiti covers an abandoned building at the former Belle Isle Safari Zoo February 24, 2013 in Detroit, Michigan. (Photo by J.D. Pooley/Getty Images)

  • In this Dec. 11, 2008 file photo, pedestrians walk by the abandoned Packard plant in Detroit. (AP Photo/Carlos Osorio, File)

  • Members of the Detroit Fire Department exit after putting out a fire in an abandoned house in Detroit on Thursday, Feb. 21, 2013. Photographer: Jeff Kowalsky/Bloomberg via Getty Images

  • Shuttered Packard motor car company plant in Detroit.

  • In this Oct. 24, 2012, photo, a broken streetlight lies on a sidewalk east of downtown Detroit. (AP Photo/Carlos Osorio)

  • The abandoned Harbor Light Center, in Detroit, Michigan on July 21, 2012. (Photo By Raymond Boyd/Michael Ochs Archives/Getty Images)

  • The abandoned Hotel Eddystone, in Detroit, Michigan on July 21, 2012. (Photo By Raymond Boyd/Michael Ochs Archives/Getty Images)

  • An abandoned home is seen on February 24, 2013 in Detroit, Michigan. (Photo by J.D. Pooley/Getty Images)

  • The abandoned First Unitarian Church, in Detroit, Michigan on July 21, 2012. (Photo By Raymond Boyd/Michael Ochs Archives/Getty Images)

  • The abandoned Detroit Public Schools book depository.

  • The back of an abandoned building facing, in Detroit, Michigan on July 21, 2012. (Photo By Raymond Boyd/Michael Ochs Archives/Getty Images)

  • Abandoned Detroit Central Depot shot from street.

  • This Oct. 24, 2012, photo shows a broken streetlight base on a sidewalk east of downtown Detroit. When the World Series was broadcast that week, television viewers saw vibrant crowds and skyline shots of the city. Yet beyond the hot dogs and home runs, Detroit is struggling to cross home plate. (AP Photo/Carlos Osorio)

  • The General Motors world headquarters building is shown near an abandoned building March 30, 2009 in Detroit. (Photo by Bill Pugliano/Getty Images)

  • Exterior of abandoned house in Detroit, a familiar sight in many neighborhoods.

  • Detroit Abandoned Buildings

    The back of the abandoned Michigan Central Station on May 1, 2013 in Detroit. (Photo by Ann Hermes/The Christian Science Monitor via Getty Images)

  • An abandoned home in Detroit.

  • An abandoned building in Detroit.

  • In a July 31, 2012 photo, a trashed strewn street is seen in east Detroit. Abandoned lots, alleys and neglected parks in Detroit used to be a favorite destination for discarded tires and trash. But over the past few months they have become dumping grounds for the dead. At least seven bodies have been found in some of the most desolated haunts in a half-empty city. (AP Photo/Carlos Osorio)

  • Graffiti decorates the ruins of the Packard Automotive Plant, a 35 acre site where luxury cars were manufactured until the 1950s on May 2, 2013 in Detroit, Michigan. Sitting on the East side of Detroit, the former automotive plant is now a site for scavengers, urban explorers and graffiti artists. (Photo by Ann Hermes/The Christian Science Monitor via Getty Images)

  • The abandoned Fisher Body Plant.

  • The Fisher Body Plant in Detroit, which is abandoned.

  • Part of the Brewster-Douglass housing project site is shown in Detroit, Friday, March 18, 2011. (AP Photo/Paul Sancya)

  • Aerial photograph of the Michigan Central Station's Beaux-Arts facade in Detroit, Michigan.