I am running into a strange problem wherby I have a (quite complicated) VisualForce page that I pass a couple of parameters to when running. This page runs fine.
Example URL: https://force.com/apex/medicalforecast?t=SUMMARY&y=2013
However, if I embed it into another simple visualforce page with the following code I get a "System.LimitException: Too many query rows: 50001" error.
<apex:page sidebar="false">
<apex:include pageName="MedicalForecast" />
</apex:page>
Example URL: https://force.com/apex/Forecast?t=SUMMARY&y=2013
Can anyone explain this behaviour? Is there additional queries run when embedding one VisualForce page into another?
Thank you