I have an object with 8000+ records.
When I use max # of records limit = 100 everything works fine but when I set to 1000, I get
System.LimitException: Apex heap size too large: 6720396.
So, I understand that I must provide a lower limit. But this limit makes sense from user record loading point of view, however, it simply doesn’t make sense when I want to -
1) Search records more than 100 (when limit is set to 100). How can I put arbitrary limit like this anyway? Max # of records seems to limit number of records and NOT number of records that I fetch (page cursor) at a time.
2) All my charts are limited to top 100 records and not total which is 8000 records. In other word, all charts are incorrect as they are based on limited data and not complete data.
What am I missing?
Question
Modal: max # of records limit
This topic has been closed for replies.
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.
