Closed GoogleCodeExporter closed 9 years ago
Original comment by st...@weblite.ca
on 30 Jan 2015 at 4:25
I have reproduced this error in iOS 8.1 running the New VM. Removing the
Log.p() call seems to prevent the error from happening. Looking into it
further. Will post more with results.
Original comment by steve.ha...@codenameone.com
on 3 Feb 2015 at 8:15
Other observations:
1. This does not seem to happen with the Old VM. Only the new VM.
2. Sites like CNN expedite the crash because they use a lot of AJAX calls to
load resources so the browser navigation callback gets called a lot more.
3. Memory warnings occur regularly whether or not a navigation callback is set.
The web view handles its own garbage though and generally is able to keep it
going.
Theory:
The GC is failing to mark objects that are used inside the Web thread. The
browser navigation callback runs on the web thread, which CN1 does not start or
control. Perhaps the GC is ignoring objects that are in use in this thread in
the mark stage - so they get swept away in the sweep stage.
This is more in your territory, Shai.
Original comment by steve.ha...@codenameone.com
on 3 Feb 2015 at 8:30
This is probably the same issue as 1328
Original comment by shai.almog
on 5 Feb 2015 at 5:04
Ran test again. Appears to be holding steady now at about 115megs.
Original comment by st...@weblite.ca
on 6 Feb 2015 at 5:43
Original issue reported on code.google.com by
appsepp....@gmail.com
on 23 Jan 2015 at 12:21Attachments: