You need to sign in to do that
Don't have an account?
Maximum view state size limit (128K) exceeded. Actual viewstate size for this page was 133.094K
Hi,
I got this error when I am trying to pass bulk data and this same data is displayed under 5 separate sections in the visualforce page. This results in more bigger page.
In Apex Controller in one function:
public List<OperationalTO> getSubdata(){
List<OperationalTO> lst = new List<OperationalTO>();lst= x.getData(); // this returns bulk data
return lst;
}
In Visualforce page :
I am displaying this data 5 times,
<apex:repeat value="{!yy}" var="y"> // this executes 5 times
<apex:repeat value="{!subdata}" var="sub">
......
......
</apex:repeat>
</apex:repeat>
Please help in what needs to be done to avoid this error.