title: Application performance with media
body: <p>I have a gallery application which loads all the media (images, music and video) thumbnails.
  I'm using Universal Image loader to load the images with following configs </p>
  
  <pre><code>DisplayImageOptions mOptions = new DisplayImageOptions.Builder()
          .bitmapConfig(Bitmap.Config.RGB_565)
          .showStubImage(R.drawable.media)
          .showImageForEmptyUri(R.drawable.media)
          .imageScaleType(ImageScaleType.IN_SAMPLE_INT)
          .showImageOnFail(R.drawable.media).cacheInMemory().cacheOnDisc()
          .build();
  </code></pre>
  
  <p>and   </p>
  
  <pre><code>config = new ImageLoaderConfiguration.Builder(mContext).enableLogging()
          .discCache(new UnlimitedDiscCache(cacheDir))
          .threadPoolSize(10).build();
  </code></pre>
  
  <p>This app works flawlessly on a 2GB ram device. But what i have observed is than on lower ram devices, the application is really laggy. Could someone tell me if these configuration are fine? or do i need to alter something to gain better performance in low end devices?</p>