Additional performance improvements to reduce heap requirements for large tables