Skip to content

Commit

Permalink
Revert to old memory limit
Browse files Browse the repository at this point in the history
  • Loading branch information
daneren2005 committed Mar 10, 2015
1 parent 74c9732 commit cbeee32
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/github/daneren2005/dsub/util/ImageLoader.java
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ public ImageLoader(Context context) {
this.context = context;
handler = new Handler(Looper.getMainLooper());
final int maxMemory = (int) (Runtime.getRuntime().maxMemory() / 1024);
final int cacheSize = maxMemory / 3;
final int cacheSize = maxMemory / 4;

// Determine the density-dependent image sizes.
imageSizeDefault = context.getResources().getDrawable(R.drawable.unknown_album).getIntrinsicHeight();
Expand Down

0 comments on commit cbeee32

Please sign in to comment.