Getting Heap Size error, but 'Max # of records (Limit)' is not working for me. Hi, I have two skuid pages and when I load a good number of data (for ex, even 17,000 records) on my pages, then it shows the heap size error stating ‘Apex heap size too large’. I have already tried putting the ‘Max # of records (Limit)’, it worked for one page but the other page is still showing the same error. Also, there is a button on the page (which started working fine after putting the limit), which changes the status of one of the fields on being clicked. But, unfortunately it is only changing the status of the records which are being displayed on the page after putting the limit and not of all the records in the database. But I need to change the status of all the records in one go (which is the actual requirement). Can you please suggest a better approach to deal with this heap size error, as setting the limit dosen’t seem to be working for me and the client needs all the records to be loaded automatically in one go on page load and he won’t have to press the ‘Load More’ opti