Skip to content

Commit cbeee32

Browse files
committed
Revert to old memory limit
1 parent 74c9732 commit cbeee32

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/github/daneren2005/dsub/util/ImageLoader.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ public ImageLoader(Context context) {
7272
this.context = context;
7373
handler = new Handler(Looper.getMainLooper());
7474
final int maxMemory = (int) (Runtime.getRuntime().maxMemory() / 1024);
75-
final int cacheSize = maxMemory / 3;
75+
final int cacheSize = maxMemory / 4;
7676

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

0 commit comments

Comments
 (0)