Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-2650] iPad - difference in image loading behavior between device and emulator

GitHub Issuen/a
TypeBug
PriorityMedium
StatusClosed
ResolutionFixed
Resolution Date2011-05-16T11:04:55.000+0000
Affected Version/sn/a
Fix Version/sRelease 1.7.0, Sprint 2011-13
ComponentsiOS
Labelsimage, ios, ipad, placeholder
ReporterThomas Huelbert
AssigneeStephen Tramer
Created2011-04-15T03:25:53.000+0000
Updated2011-05-16T11:04:55.000+0000

Description

User provided content, found attached to ticket http://developer.appcelerator.com/helpdesk/view/61891">http://developer.appcelerator.com/helpdesk/view/61891

1.build project and install onto an ipad
2.run in simulator and compare

results: on device a number of images are left with default placeholders,

Comments

  1. Stephen Tramer 2011-04-15

    Probably not going to have time to give this proper attention this milestone.

  2. Stephen Tramer 2011-04-15

    Confirmed that this is due to a memory panic on boot. Probably because the app is loading 40 full-size images, plus creating an inordinately large number of proxies, and preparing all of its subviews for display at the same time.

    Will investigate later - could actually be cleaned up by memory fixes proposed for 1.7, but those will probably only deal with 'stale' objects. Although we need to reduce the memory footprint of our living objects as well.

  3. Stephen Tramer 2011-04-15

    It looks like all iPad apps cause a memory panic at some point... bad mojo. We need to fix pronto in 1.7.0.

  4. Jeff Haynie 2011-04-15

    (from [3b5b9488400315e1a9c03e52ef64571bb1f72c5e]) [#2650 state:fixed-in-qa] Fix for fast resolution of image downloads. https://github.com/appcelerator/titanium_mobile/commit/3b5b9488400315e1a9c03e52ef64571bb1f72c5e"> https://github.com/appcelerator/titanium_mobile/commit/3b5b94884003...

  5. Stephen Tramer 2011-04-15

    Note: Can be tested with internal tests app 2636.

  6. Thomas Huelbert 2011-05-11

    closed using noted app - 4.3 ipad2 [INFO] Titanium SDK version: 1.7.0 (05/10/11 19:34 879871b...)

JSON Source