LaTeX warning "Overfull \vbox (55.18915pt too high) has occurred while \output is active": cause and fix
A page holds more than fits between the top and the bottom margin, and the content runs over the lower edge of the text block by the stated amount. has occurred while \output is active says that TeX noticed it while it was assembling the page. It is a warning; the PDF is still written.
Why it happens
- An image is taller than the text block, for example with
height=1.1\textheight. - A
tabularhas more rows than fit on a page. Atabularcannot break across pages. - A
minipageholds more text than fits on a page. Its content cannot break across pages either.
How to fix it
- Limit the height of images, for example
height=0.8\textheight. Addkeepaspectratiowhen you set a width as well. - Set long tables with
longtable, which continues the table on the next page. - Remove the
minipagearound long text, or split its content. - Inside
figureandtable, LaTeX reports an object that is too tall as Float too large for page by 99.90506pt instead.
A document that produces the message
\documentclass{article}
\usepackage{graphicx}
\begin{document}
Text before the image.
\noindent\includegraphics[width=5cm,height=1.1\textheight]{image}
\end{document}The corrected document
\documentclass{article}
\usepackage{graphicx}
\begin{document}
Text before the image.
\noindent\includegraphics[width=5cm,height=0.8\textheight]{image}
\end{document}Both documents were compiled with pdfLaTeX from TeX Live 2023. The first produces the message, the second compiles without an error.
Finding the line in the editor
The editor lists every error and warning of a compile run with file and line. Select an entry and the cursor jumps to that line. See Error list with jump to the line.