title: What are advantages of setting largeHeap to true?
body: <p>I have an application with large number of classes &amp; also many libraries are included, I am setting <code>android:largeHeap=&quot;true&quot;</code> as i am getting memory issue, My Manifest file code is attached.</p>
  <pre><code>&lt;application
          android:name=&quot;.MyApplication&quot;
          android:allowBackup=&quot;true&quot;
          android:icon=&quot;@drawable/ic_launcher&quot;
          android:label=&quot;My Huge Application&quot;
          android:largeHeap=&quot;true&quot;
          android:logo=&quot;@drawable/logo&quot;
          android:screenOrientation=&quot;portrait&quot;
          android:theme=&quot;@style/AppTheme&quot; &gt;
  &lt;/application&gt;
  </code></pre>
  <p>I had to ask that is this a good practice?
  Kindly suggest advantages and disadvantages (pros and cons) of using it.</p>