package org.appsroid.fxpro.library;

import android.app.ActivityManager;
import android.content.Context;


public class MemoryManagement {

	public static float free(Context context) {
		ActivityManager am = (ActivityManager) context.getSystemService(Context.ACTIVITY_SERVICE);
		int memoryClass = am.getMemoryClass() - 24;
		if (memoryClass < 1) memoryClass = 1;
		return (float) memoryClass;
	}
	
}

@@ -133,16 +133,87 @@
 ment %7B%0A%0A
+        /**%0A         * Gets available memory to load image %0A        */%0A
 %09public 

Update MemoryManagement.java