Stream results from database on bootstrap to reduce memory usage