It is a basic theorem of Harish-Chandra that an irreducible unitary representation $\pi$ of a reductive group $G$ over $\mathbb{R}$ on a Hilbert space is admissible, meaning that every irreducible representation of a maximal compact $K$ that occurs in $\pi|_K$ does so with finite multiplicity.
What is the standard example of an irreducible representation of $G$ that fails to be admissible, say for $G=\mathrm{SL}(2,\mathbb{R})$ or $\mathrm{GL}(2,\mathbb{R})$?