You need to sign in to do that
Don't have an account?
gen
Maximum view state size limit (135KB) exceeded. Actual view state size for this page was 270.391KB
Hi,
When i am trying to attach other than .exe it gets uploaded from my page when i click on attach file option.
but i m getting Maximum view state size limit (135KB) exceeded. Actual view state size for this page was 270.391KB when i try to attach .exe
Please help to solve this issue.
Hello Gen,
View state size of your Visualforce pages must be under 135KB. In order to avoid this error you need to follow some best practices which I am going to provide you.
Please refer to link :
>> https://help.salesforce.com/apex/HTViewSolution?urlname=State-size-limit-1327107599450&language=en_US
Resolution for this issue is to avoid this issue you can use the best practices to avoid this error. please refer the link:
>> https://help.salesforce.com/apex/HTViewSolution?urlname=Best-Practices-for-Improving-Visualforce-Performance&language=en_US
Here my code is working fine in Chrome and not showing any error message ' Maximum view state size limit (135KB)'.
when i work with IE8 i am getting this error : Maximum view state size limit (135KB)
if we make body with null then it is working
for eg: attachment.Body=null
attachmentsList.clear();
Hello Gen,
I haven't come across this issue ever, but its good that you found a workaround.
I would suggest you to check the standard browser settings for IE, supported by salesforce and retest.
https://help.salesforce.com/HTViewHelpDoc?id=getstart_browser_ie.htm&language=en_US
https://ap1.salesforce.com/help/pdfs/en/salesforce_supported_browsers_cheatsheet.pdf
Hello,
Have you tried with transient keyword in class variables.
if not please use and verify