{ "id": "62913", "key": "TIMOB-2281", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false }, "project": { "id": "10153", "key": "TIMOB", "name": "Titanium SDK/CLI", "projectCategory": { "id": "10100", "description": "Titanium and related SDKs used in application development", "name": "Client" } }, "fixVersions": [ { "id": "11225", "name": "Release 1.5.0", "archived": true, "released": true, "releaseDate": "2010-12-14" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2011-04-17T01:58:38.000+0000", "created": "2011-04-15T03:15:32.000+0000", "priority": { "name": "Medium", "id": "3" }, "labels": [ "defect", "ios", "iphone" ], "versions": [], "issuelinks": [], "assignee": { "name": "rpfeiffer", "key": "rpfeiffer", "displayName": "Ralf Pfeiffer", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2011-04-17T01:58:38.000+0000", "status": { "description": "The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.", "name": "Closed", "id": "6", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "components": [ { "id": "10206", "name": "iOS", "description": "iOS Platform" } ], "description": "{html}

Currently it is not possible to download files larger than free\nmemory, and XHR is prone to leaking (see http://developer.appcelerator.com/helpdesk/view/50581\nfor a reproducible test case). Providing the ability to save\ndirectly to a file (which is supported by ASIHTTPRequest) would\nwork around these issues.

\n

Android suffers from the same problem which is being tracked on\n\nhttps://appcelerator.lighthouseapp.com/projects/32238/tickets/1381

{html}", "attachment": [], "flagged": false, "summary": "iOS: option to download directly to a file", "creator": { "name": "damienelmes", "key": "damienelmes", "displayName": "Damien Elmes", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "damienelmes", "key": "damienelmes", "displayName": "Damien Elmes", "active": true, "timeZone": "America/Los_Angeles" }, "environment": null, "comment": { "comments": [ { "id": "128017", "author": { "name": "kaipradel", "key": "kaipradel", "displayName": "Kai Pradel", "active": true, "timeZone": "America/Los_Angeles" }, "body": "{html}

Big bump! Can't believe this is still a bug after so long. Hope\nto see this resolved soon.

\n

Kai

{html}", "updateAuthor": { "name": "kaipradel", "key": "kaipradel", "displayName": "Kai Pradel", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T03:15:33.000+0000", "updated": "2011-04-15T03:15:33.000+0000" }, { "id": "128018", "author": { "name": "damienelmes", "key": "damienelmes", "displayName": "Damien Elmes", "active": true, "timeZone": "America/Los_Angeles" }, "body": "{html}

Can I humbly suggest this should be more than low priority? The\nleak is severe and can cause devices to actually reboot if the OOM\nhandler doesn't fire in time. If file-backing is too much work for\nnow, I'd settle for a fix for the leak described on that helpdesk\nticket.

{html}", "updateAuthor": { "name": "damienelmes", "key": "damienelmes", "displayName": "Damien Elmes", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T03:15:33.000+0000", "updated": "2011-04-15T03:15:33.000+0000" }, { "id": "128019", "author": { "name": "dthorp", "key": "dthorp", "displayName": "Don Thorp", "active": true, "timeZone": "America/Los_Angeles" }, "body": "{html}

Sure. Ralf just hasn't triaged it yet. I'll go ahead and bump\nthis one.

{html}", "updateAuthor": { "name": "dthorp", "key": "dthorp", "displayName": "Don Thorp", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T03:15:34.000+0000", "updated": "2011-04-15T03:15:34.000+0000" }, { "id": "128020", "author": { "name": "damienelmes", "key": "damienelmes", "displayName": "Damien Elmes", "active": true, "timeZone": "America/Los_Angeles" }, "body": "{html}

Thanks a lot

{html}", "updateAuthor": { "name": "damienelmes", "key": "damienelmes", "displayName": "Damien Elmes", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T03:15:34.000+0000", "updated": "2011-04-15T03:15:34.000+0000" }, { "id": "128021", "author": { "name": "jhaynie", "key": "jhaynie", "displayName": "Jeff Haynie", "active": false, "timeZone": "America/Los_Angeles" }, "body": "{html}

(from [05ab7461dab9a38200a27d082389d2885be951f8])\n[#2281 state:fixed-in-qa] Added iOS support for\ndownloading to a file (and modded KS 'XHR download' test to test it\n- also tested on Android for consistency) \nhttps://github.com/appcelerator/titanium_mobile/commit/05ab7461dab9...

{html}", "updateAuthor": { "name": "jhaynie", "key": "jhaynie", "displayName": "Jeff Haynie", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T03:15:34.000+0000", "updated": "2011-04-15T03:15:34.000+0000" }, { "id": "128022", "author": { "name": "damienelmes", "key": "damienelmes", "displayName": "Damien Elmes", "active": true, "timeZone": "America/Los_Angeles" }, "body": "{html}

Thanks a lot for this. I'm still seeing my app's memory\nconsumption creep up over time, but it's a lot slower with this fix\nin place, and it should go a long ways towards reducing crashes due\nto memory issues.

{html}", "updateAuthor": { "name": "damienelmes", "key": "damienelmes", "displayName": "Damien Elmes", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T03:15:35.000+0000", "updated": "2011-04-15T03:15:35.000+0000" }, { "id": "128023", "author": { "name": "stephentramer", "key": "stephentramer", "displayName": "Stephen Tramer", "active": true, "timeZone": "America/Los_Angeles" }, "body": "{html}

We're aware of the memory leak problems involving XHR and will\nwork on them as soon as possible. Bug #2299 will\nallow you to track our progress on this.

{html}", "updateAuthor": { "name": "stephentramer", "key": "stephentramer", "displayName": "Stephen Tramer", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T03:15:35.000+0000", "updated": "2011-04-15T03:15:35.000+0000" }, { "id": "128024", "author": { "name": "thomashuelbert", "key": "thomashuelbert", "displayName": "Thomas Huelbert", "active": true, "timeZone": "America/Los_Angeles" }, "body": "{html}

closing against 1.5.0.8f4eea3 ipod touch 4GT (4.2.1) KS test XHR\ndownload

{html}", "updateAuthor": { "name": "thomashuelbert", "key": "thomashuelbert", "displayName": "Thomas Huelbert", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T03:15:35.000+0000", "updated": "2011-04-15T03:15:35.000+0000" } ], "maxResults": 8, "total": 8, "startAt": 0 } } }