[TIMOB-1019] HTTPClient crashes app with substantial downloads
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | Low |
Status | Closed |
Resolution | Invalid |
Resolution Date | 2017-07-07T22:32:59.000+0000 |
Affected Version/s | n/a |
Fix Version/s | n/a |
Components | iOS |
Labels | core |
Reporter | Brandon Reeves |
Assignee | Ingo Muschenetz |
Created | 2011-04-15T02:41:37.000+0000 |
Updated | 2017-07-07T22:33:07.000+0000 |
Description
I noticed that HTTPClients crash when downloading files larger than the current free RAM size. This is obviously attributed to the fact that Titanium writes the file downloading to a variable before the data gets written to disk (since the disk writing must be handled onload). A separate method for directly downloading to disk in order to more efficiently handle larger files would be very useful.
No test case, ticket marked as invalid.
We should be able to reproduce this issue with a simple test case.