heap size limit

Not sure I understood your use case exactly.

But if yes, You want to be able from the page include to affect the master page?

Not 100% sure, but should be doable if u play a little with the XML

See this post to give you an idea on how to do it.


Hope it helps