You need to sign in to do that
Don't have an account?
dellseys
Visualforce Error
Help for this Page
Maximum view state size limit (135KB) exceeded. Actual view state size for this page was 257.115KB
help
Visualforce Error - Maximum view state size limit
Visualforce Error
Help for this Page
Maximum view state size limit (135KB) exceeded. Actual view state size for this page was 257.115KB
help
Use fewer components on your page.
Use the transient keyword where appropriate.
This link (https://help.salesforce.com/articleView?id=000002955&type=1) has some general guidelines.
We are not querying any data we are just inserting data into the object.. there is no retrival. no SOQL as well just inserts..
and we have used fewer components and transients andy other clue
Perhaps your logic creates many objects, hence the increased memory usage and view state.
Consider splitting the logic and insertion into 2 pages, perhaps as a Visualforce 2 page wizard application.
checking view state in developer console, we are not even getting to 135KB. we have 6.36KB. Is this not a generic error where by there could be related to some other issues. before we got here, we were getting authorized required, and then we drilled down to this 135kb message...
Can you share your VF and class code here?
Regards,
Sohan Raj
These were generic messages...
This has to do with my field length being small and I saw this after perform a debug log.
field(20) was changed to field(100) to accomodate the number of characters.
Thank you all
Stephen