By the early 19th century , the most prolific oyster beds around Manhattan and Staten Island were nearly played out , and for the remainder of the century , New York , like a great , gobbling maw , would eat its way up and down the coast of Long Island , overconsuming and polluting the oyster nigh unto extinction .