When you do this in the parent view, you are still caching that entire view until it is done.
What you could do, is use fwrite to stream that output into a new file, and use that HTML file to convert to PDF:
$people_on_list = MyModel::select(['col1', 'col2'])->orderBy('col1');
$file = fopen("test.html", "w");
fwrite($file, '<html><body>');
$people_on_list->chunk(10000, function ($people_chunk) {
$buf = view('child-view', [
'people_chunk' => $people_chunk
])->render();
fwrite($file, $buf);
}
fwrite($file, '</body></html>');
fclose($file);
This is still using your childview, but now it will only load 1 childView in memory each time.
When you start converting the HTML to PDF, it will probably still use a lot of memory though.