The Bolzano-Weierstrass theorem says that every bounded sequence in $\Bbb R^n$ contains a convergent subsequence. The proof in Wikipedia evidently doesn't go through for an infinite-dimensional space, and it seems to me that the theorem ought not to be true in general: there should be some metric in which $\langle1,0,0,0,\ldots\rangle, \langle0,1,0,0,\ldots\rangle, \langle0,0,1,0,\ldots\rangle, \ldots $ is bounded but fails to contain a convergent subsequence.
Let $M$ be a general metric space. What conditions on $M$ are necessary and sufficient for every bounded sequence of elements of $M$ to contain a convergent subsequence?