I actually like the sound of that 'heuristic'.
I can very easily bring down my app in the emulator by exceeding the GREF limit
with normal usage. One function allocates about 500 at a time (updating a list
view using a sub-classed ArrayAdapter) and after a few clicks it goes down. On
the devic
That seemed to resolve the problem! Thanks.
--
View this message in context:
http://mono-for-android.1047100.n5.nabble.com/GridView-not-releasing-view-objects-tp5078401p5082613.html
Sent from the Mono for Android mailing list archive at Nabble.com.
___
On Dec 16, 2011, at 9:43 AM, HSSoftware wrote:
> Attached is a reproducible case.
Thank you, that simplified investigations. :-)
> Is there something stupid I am doing, or is GC on a holiday?
The GC is on holiday. :-)
Well, not exactly. The problem here is that the GC has a limited view of memo
Attached is a reproducible case.
Is there something stupid I am doing, or is GC on a holiday?
http://mono-for-android.1047100.n5.nabble.com/file/n5080378/ReproGridView.zip
ReproGridView.zip
--
View this message in context:
http://mono-for-android.1047100.n5.nabble.com/GridView-not-releasing-v
It seems that this is a larger problem than I thought. When I run DDMS while
running my app on the Kindle Fire, I proceed to my activity with the
GridView and the thumbnails. I do about a dozen rotates, and then generate
an HPROF file with DDMS. Analyzing this with Eclipse Memory Analyzer, I see,
a
When I replace my custom WorkThumbImageView with a standard ImageView, I had
the same problem, except that now I had thousands of "leaky" ImageView
objects instead of my custom class. So my class nor the layout is the
problem.
Any ideas?
--
View this message in context:
http://mono-for-android.1
Sorry again, formatting got mangled ...
I have an activity, whose content view includes a GridView. This GridView is
backed up by a custom adapter derived from 'Java.Lang.Object, IListAdapter'.
The data set behind the adapter include maybe 2300 objects, though only 80
views are visible at a time o
Forgot to upload the file ...
http://mono-for-android.1047100.n5.nabble.com/file/n5078404/WorkThumbImageView.cs
WorkThumbImageView.cs
--
View this message in context:
http://mono-for-android.1047100.n5.nabble.com/GridView-not-releasing-view-objects-tp5078401p5078404.html
Sent from the Mono for
I have an activity, whose content view includes a GridView. This GridView is
backed up by a custom adapter derived from 'Java.Lang.Object, IListAdapter'.
The data set behind the adapter include maybe 2300 object, though only 80
views are visible at a time on the screen, thus the adapter should only