DomPDF问题 - 巨大PDF上的随机空白页面

I've been using DomPDF within CodeIgniter to generate a catalogue with over 200 pages of data. Within this there are many, many tables with multiple styles attached to them.

Although I'm not using any CSS page-break attributes, it seems there are random spurs of blank pages spread throughout the generated document. Sometimes even 15 in a row. Is there any explanation as to why this is happening or any potential fixes that anyone knows of?

I can't seem to find anyone else who is having a similar problem so I have no reference.

The generation code used in the view can be found here: https://gist.github.com/sixteenstudio/22e7027706defd8df35b

And the DomPDF generation initialization code looks like this:

$dompdf = new DOMPDF();
$dompdf->set_paper('A4', 'portrait');
$dompdf->load_html($html);
$dompdf->render();
$dompdf->stream("catalogue.pdf");