Application execution problem in FEZ Cobra with 7" LCD

I am working with a GUI (Without WPF) based application.

The application with working perfectly with FEZ Cobra and LCD Combination of 3.5" and 4.3". When I am trying to deploy with 7" LCD combination. It is giving error ‘System.OutOfMemoryException’ occurred in Microsoft.SPOT.Graphics.dll".

Can any one guide to resolve this?

YYou need to increase your custom heap size, it should be in the docs; by default there’s not enough set aside for the 7". I typically just doubled the size.

Thanks for the support, The code works properly now with 7" LCD.