Problem description
Setting a database file so that it is not backed up remotely leads to memory leaks in the app.
Steps to reproduce
- Create an app.js with the following code:
(function() {
var db = Ti.Database.open("somedb");
db.file.remoteBackup = false; // comment this line and leaks disappears
db.close();
db = null;
}());
- Run the app using XCode profiling, and open the Instruments tool to check leaks
- Wait ~1 minute and the following leaks are shown:
TiFilesystemFileProxy
NSFileManager
NSPathStore2
- Comment the remoteBackup line and leaks won't show up.
Resolving as cannot reproduce. Needs confirmation by QE before closing.
Closing ticket as the issue cannot be reproduced and due to the above comments.