The reason LaTeX has floating environments such as figure
and table
is to avoid large white space gaps at page breaks by moving the figure to a position which produces a better page break.
By using [H]
you disable the float mechanism so you get the bad page break that latex would have avoided by floating the figure.
Depending on the use case and reasons why you used [H]
you need to accept the space, or move the figure in the source file, rearranging the text so there is more text on the page, or use the float mechanism [htbp]
.
If you decide to accept the space, you may prefer \raggedbottom
so all the excess space comes at the bottom of the page.
[H]
is almost a guarantee for bad layout. Try with[htbp]
instead.[htbp]
will select a position for the table which results in a good layout without such large gaps between the paragraphs[htbp]
, at least two more things can affect this. What document class?memoir
has\sloppybottom
and I think most have\raggedbottom
. Also,\parskip
will affect this. I had a similar issue and use\setlength{\parskip}{0pt plus 18pt minus 2pt}
in preamble (but you will need to decide what values work for you, if you use it).