Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-20615] iOS: Crittercism module causes memory leak

GitHub Issuen/a
TypeBug
PriorityCritical
StatusClosed
ResolutionDuplicate
Resolution Date2017-11-18T11:40:56.000+0000
Affected Version/sRelease 5.2.0
Fix Version/sn/a
ComponentsiOS
Labelsapm
ReporterChris Linseman
AssigneeUnknown
Created2016-03-22T17:34:42.000+0000
Updated2018-08-06T17:41:12.000+0000

Description

Seems like Crittercism is causing memory leaks and eventual crashes in iOS app. Reproduce by: 1) Creating a new iOS app 2) Enable Platform Services 3) Set up apm module as per our documentation Alloy.Globals.apm = require("com.appcelerator.apm"); Alloy.Globals.apm.init(); 4) Use Xcode Instruments Leak tool and let it run For me it takes about 40 seconds until I get the leak shown in the attached screenshot. It may be related to this from the apteligent support site: http://community.apteligent.com/questions/1115/memory-leaks-at-crittercism-setusernameusername.html Would be good to upgrade the version of Crittercism to see if it fixes this leak.

Attachments

FileDateSize
Screenshot 2016-03-22 17.27.05.png2016-03-22T17:30:40.000+0000133459

Comments

  1. Chee Kiat Ng 2016-03-23

    Can you check to see what is the version of apm module you are using? Thanks!
  2. Chris Linseman 2016-03-23

    I'm using 1.1.5
  3. Bert Grantges 2016-05-03

    bumping this up - can we make sure that we're using the latest Crittercism lib and if we still see leeks bring them to their attention.
  4. Hans Knöchel 2017-11-18

  5. Eric Merriman 2018-08-06

    Closing as a duplicate. If this is in error, please reopen.

JSON Source