From cbeee3213abb3afa8ee08e5fec83129864c8570c Mon Sep 17 00:00:00 2001 From: Scott Jackson Date: Mon, 9 Mar 2015 17:49:25 -0700 Subject: Revert to old memory limit --- src/github/daneren2005/dsub/util/ImageLoader.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/github') diff --git a/src/github/daneren2005/dsub/util/ImageLoader.java b/src/github/daneren2005/dsub/util/ImageLoader.java index f18733f3..b4bad6e7 100644 --- a/src/github/daneren2005/dsub/util/ImageLoader.java +++ b/src/github/daneren2005/dsub/util/ImageLoader.java @@ -72,7 +72,7 @@ public class ImageLoader { 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(); -- cgit v1.2.3