Even when returning QVariant() in header data the QTableView header still tries to allocate a vector the size of the row count.
Is it possible to have hundred millions of rows in the model without an out of memory crash in the table?