Closed GoogleCodeExporter closed 9 years ago
Can you just remove the jars from the project and upload here? Thanks.
Original comment by shai.almog
on 23 Mar 2013 at 4:07
Original comment by shai.almog
on 23 Mar 2013 at 4:07
Here it is
Original comment by manuell...@gmail.com
on 23 Mar 2013 at 4:12
Attachments:
I played with this a lot on a galaxy nexus and can't seem to reproduce any such
memory growth that leads to a crash. I do see GC taking effect and removing the
images/data from RAM.
Can you see this issue reproduces for you without the pull to refresh feature
(just add a button to add the elements). Then see if you can reproduce
something like this by just adding plain buttons without the UIBuilder code you
wrote. This way we can pinpoint what is the source of the problem. Its possible
that Samsung's custom skin is leaking texture data in their GPU acceleration.
Original comment by shai.almog
on 24 Mar 2013 at 7:55
Hi, Sorry for the delay
Yes I did a test to discard the pull to refresh a the cause, so I made a
version that loads 30 components just at the moment the form opens and
something interesting happened.
When I load the form, just one or two components ar visible, the rest is
offscreen. When I don't scroll down, the memory don't seem to grow that much (I
assume is a rendering optimization to not load reaosurces that are not being
rendered). The memory starts to increase when I scroll down the form. However,
after scrolling and closing and opening the form several times, the behavior is
the same I mentioned, memory keeps allocated.
The same happened with a test for adding just buttons, created from code. In
this case is takes a longer time to produce a significant memory growth and It
seems to behave in the same way. I could extrapolate the same result but in
this case I'm not pretty sure as I didn't get the test that far.
Do you have a chance to test this application on a galaxy s3? How did you
realize that the images/data was removed from RAM?
Original comment by manuell...@gmail.com
on 28 Mar 2013 at 6:10
I didn't test it on an S3 because I don't have access to that device. On a
Galaxy Nexus device which is pretty similar I don't see any growth in RAM that
isn't reverted when we leave the form.
Original comment by shai.almog
on 28 Mar 2013 at 8:07
[deleted comment]
I'll try making some tests on the emulator for various android version. I'll
post the results later
Original comment by manuell...@gmail.com
on 28 Mar 2013 at 3:59
Closing the issue as part of cleanup due to lack of activity.
Original comment by shai.almog
on 22 Nov 2013 at 8:42
Original issue reported on code.google.com by
manuell...@gmail.com
on 23 Mar 2013 at 3:59