Consider the following problem for a general Hilbert space $\mathcal{H}$ over $\mathbb{R}$, possibly infinite dimensional. Let $C$ be a compact set and $g:\mathcal{H}\to\mathbb{R}\cup{+\infty}$ a convex, closed, proper function. Furthermore, assume that $\partial g(x)\neq\emptyset$ for all $x\in C$. We want to show that
$$\sup\limits_{x\in C}d(0,\partial g(x))<\infty$$
where $d(x, A)=\inf\limits_{a\in A}\|x-a\|$ is the Hausdorff distance between the point$ x$ and the set $A$.
Here is my attempt:
Assume that $\partial g(x)\neq \emptyset$ for all $x\in C$ and for the sake of contradiction, assume that $\exists \{x_n\}_{n\in\mathbb{N}}\subset C$ such that $\lim\limits_{n\to\infty}d(0,\partial g(x_n))=\infty$.
Since $C$ is compact, $\exists$ a subsequence $\{x_{n_k}\}_{k\in\mathbb{N}}$ such that $x_{n_k}\to x\in C$.
For each $k\in\mathbb{N}$ let $b_k = \arg\min\limits_{s\in\partial g(x_{n_k})}\|s\|$, which exists and is unique since $\partial g(x_{n_k})$ is nonempty and closed.
If the sequence $b_k$ has a convergent subsequence then we are done since, by upper hemicontinuity of $\partial g$, $b_{k_j}\to b\implies b\in\partial g(x)$.
So, $d(0,\partial g(x_{n_{k_j}}))=\|b_{k_j}\|$ but also we have,
$$\|b\|=\|\lim\limits_{j\to\infty}b_{k_j}\|=\lim\limits_{j\to\infty}\|b_{k_j}\|=\lim\limits_{j\to\infty}d(0,\partial g(x_{n_{k_j}}))=\infty$$
which contradicts that $b\in\partial g(x)$.
However, I think showing that $b_{k}$ has a convergent subsequence might be impossible since, for any subsequence $b_{k_j}$, we have that $\lim\limits_{j\to\infty}\|b_{k_j}\|=\lim\limits_{k\to\infty}\|b_k\|=\infty$.