You need to sign in to do that
Don't have an account?
Mit Patel
Maximum view state size limit (135KB) exceeded
Hi,
I am creating an application and i am getting "Maximum view state size limit (135KB) exceeded" error. Actually i am displaying record in tabular form and i am getting more 10,000 record from database. I have mentioned variables as a transient and but still i am facing same problem. Can you please tell me is there any other option to recover from that problem.
Plz reply......
Thanks,
Mitul
Open the view state and check which variable it taking the kilobytes, see if you can set that variable to null after rendering the page.
You have to enable view state from your personal information if its already not enabled.
Try using "Transient" keyword.
http://www.salesforce.com/us/developer/docs/apexcode/Content/apex_classes_keywords_transient.htm
Best Regards