title: Xamarin Form Exception Heaps size and OutOfMemoryError
body: <p>How can I enable large heap in my Xamarin.Forms application ?</p>
  
  <p>Here is <code>MainActivity.cs</code> Android code:</p>
  
  <pre><code> public class MainActivity : global::Xamarin.Forms.Platform.Android.FormsAppCompatActivity
  {
      protected override void OnCreate(Bundle bundle)
      {
          TabLayoutResource = Resource.Layout.Tabbar;
          ToolbarResource = Resource.Layout.Toolbar;
  
          base.OnCreate(bundle);
          global::Xamarin.Forms.Forms.Init(this, bundle);
          RoundedBoxViewRenderer.Init();
          LoadApplication(new App());
      }
  }
  </code></pre>
  
  <p>See Exception Screenshot below:</p>
  
  <p><a href="https://i.stack.imgur.com/0Gl0B.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/0Gl0B.png" alt="Exception Screenshot"></a></p>