# No automatic page breaking after inserting figure [duplicate]

Possible Duplicate:
Overfull box and broken pagination

I'm currently using Latex for the first time in about a year, and I've run into some trouble. I have two images in my document so far, using the code:

\documentclass[12pt]{article}
\usepackage[top=2cm,bottom=4cm,left=3.2cm,right=3.2cm]{geometry}

\usepackage{setspace}
\onehalfspacing
\usepackage{lipsum}
\usepackage{graphicx}
\graphicspath{{./images/}}
\usepackage{float}
\usepackage{subfigure}
\usepackage{wrapfig}
\usepackage{listings}

\begin{document}

\title{Title}
\date{}
\maketitle

\section{Introduction}
Blahblahblah.

\section{Recommendations}
\subsection{sub1}
\subsubsection{subsub1}
\subsubsection{subsub2}
\subsection{sub2}
\section{Recommendations}
\subsection{sub1}
\subsubsection{subsub1}
\subsubsection{subsub2}
\subsection{sub2}
\section{Recommendations}
\subsection{sub1}
\subsubsection{subsub1}
\subsubsection{subsub2}
\subsection{sub2}
\section{Recommendations}
\subsection{sub1}
\subsubsection{subsub1}
\subsubsection{subsub2}
\subsection{sub2}
\section{Recommendations}
\subsection{sub1}
\subsubsection{subsub1}
\subsubsection{subsub2}
\subsection{sub2}
\section{Recommendations}
\subsection{sub1}
\subsubsection{subsub1}
\subsubsection{subsub2}
\subsection{sub2}

\end{document}


This seems to have inserted the images as I would like, however, on the page containing the second image, all subsequent text seems to overun the bottom of the page, and the document ends. The page containing the first image ends as normal (page number, bottom margin, etc). I've never encountered this issue before, and looking at previous .tex files, this is the same method I used.