Hi All,
I am working working around some of the memory issues I am having with 1.7.2.
I have shared database library, containing all DB calls.
In my testing I have moved the db object into app.js and assigned it to Ti.App.dbObj. This object is then used by the DB library, which is included in each of the many contexts my app uses. This avoids a new db object being created in each context.
Obviously I want to move to a single context app, but there is a lot rework that needs to be done (there are 30 windows and approximately 15k lines of code) so it will be a while coming.
In the mean time, doing this seems to have reduced the crashes to segfaults and made them significantly rarer. So what I'd like to know is if this is safe to do with 1.7.2?
Any ideas?
Nick