[TIMOB-23736] iOS Titanium.Network.HTTPClient Memory leak
GitHub Issue | n/a |
Type | Bug |
Priority | Critical |
Status | Closed |
Resolution | Duplicate |
Resolution Date | 2017-06-11T17:38:30.000+0000 |
Affected Version/s | n/a |
Fix Version/s | n/a |
Components | n/a |
Labels | ios |
Reporter | Sergey Volkov |
Assignee | Eric Merriman |
Created | 2016-08-05T12:41:52.000+0000 |
Updated | 2017-06-14T21:18:33.000+0000 |
Description
HttpClient response data stays in memory ("Malloc 124,21 MB" on screenshot).
Tested on SDK 5.3.1.
Simple test app is in attachment.
Attachments
File | Date | Size |
app.js | 2016-08-05T12:39:52.000+0000 | 2308 |
leak2.png | 2016-08-05T12:34:54.000+0000 | 273315 |
[~s.volkov] I am pretty sure it's not leaking, because files that are downloaded are temporarily stored in the /tmp directory which is flushed as soon as the application is closed. Can you validate that the file is there in the filesystem-memory after closing the app? Otherwise, we might need to disable the caching manually.
@hansknoechel, This case is about RAM, not storage. Take a look at screenshot in attachment.
Solved these days, see TIMOB-24364.
Closing ticket as duplicate.