I have a simple page that displays an image.The source is a URL
var img = new Image ();
var source = new UriImageSource {
Uri = new Uri (string.Format ("http://xxxx.com/imagem/?{0}", url)),
CachingEnabled = false
};
img .Source = source;
but when I access this page (), the fourth time or the fifth it, I get this error
java.lang.OutOfMemoryError
at android.graphics.Bitmap.nativeCreate(Native Method)
at android.graphics.Bitmap.createBitmap(Bitmap.java:928)
at android.graphics.Bitmap.createBitmap(Bitmap.java:901)
at android.graphics.Bitmap.createBitmap(Bitmap.java:868)
at md5530bd51e982e6e7b340b73e88efe666e.ButtonDrawable.n_draw(Native Method)
at 340b73e88efe666e.ButtonDrawable.draw(ButtonDrawable.java:49)
at android.view.View.draw(View.java:15235)
at android.view.View.getDisplayList(View.java:14141).....