  In this paper, we improve the moment estimates for the gaps between numbers
that can be represented as a sum of two squares of integers. We consider
certain sum of Bessel functions and prove the upper bound for its weighted mean
value. This bound provides estimates for the $\gamma$-th moments of gaps for
all $\gamma\leq 2$.
