{ "id": "117664", "key": "TIMOB-14743", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false }, "project": { "id": "10153", "key": "TIMOB", "name": "Titanium SDK/CLI", "projectCategory": { "id": "10100", "description": "Titanium and related SDKs used in application development", "name": "Client" } }, "fixVersions": [ { "id": "15576", "description": "2013 Sprint 16", "name": "2013 Sprint 16", "archived": true, "released": true, "releaseDate": "2013-08-12" }, { "id": "15479", "description": "Release 3.1.2", "name": "Release 3.1.2", "archived": true, "released": true, "releaseDate": "2013-07-31" }, { "id": "14982", "description": "Release 3.2.0", "name": "Release 3.2.0", "archived": false, "released": true, "releaseDate": "2013-12-19" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2013-08-05T20:35:06.000+0000", "created": "2013-07-26T23:21:21.000+0000", "priority": { "name": "Critical", "id": "1" }, "labels": [ "performance", "qe-3.1.2", "qe-testadded" ], "versions": [ { "id": "15479", "description": "Release 3.1.2", "name": "Release 3.1.2", "archived": true, "released": true, "releaseDate": "2013-07-31" } ], "issuelinks": [ { "id": "30642", "type": { "id": "10002", "name": "Duplicate", "inward": "is duplicated by", "outward": "duplicates" }, "inwardIssue": { "id": "109945", "key": "TISTUD-3514", "fields": { "summary": "Studio becomes sluggish & we get 'Out of memory error' ", "status": { "description": "The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.", "name": "Closed", "id": "6", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "priority": { "name": "High", "id": "2" }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } }, { "id": "30415", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "outwardIssue": { "id": "109945", "key": "TISTUD-3514", "fields": { "summary": "Studio becomes sluggish & we get 'Out of memory error' ", "status": { "description": "The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.", "name": "Closed", "id": "6", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "priority": { "name": "High", "id": "2" }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } } ], "assignee": { "name": "rmcmahon", "key": "rmcmahon", "displayName": "Russell McMahon", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2013-10-01T22:12:15.000+0000", "status": { "description": "The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.", "name": "Closed", "id": "6", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "components": [ { "id": "10230", "name": "BlackBerry", "description": "BlackBerry Platform" } ], "attachment": [ { "id": "41247", "filename": "processes.png", "author": { "name": "sgibly", "key": "sgibly", "displayName": "Shalom Gibly", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-08-01T21:11:14.000+0000", "size": 35114, "mimeType": "image/png" }, { "id": "41248", "filename": "processes-commandLine.png", "author": { "name": "sgibly", "key": "sgibly", "displayName": "Shalom Gibly", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-08-01T21:27:55.000+0000", "size": 32315, "mimeType": "image/png" }, { "id": "41082", "filename": "Screen Shot 2013-07-26 at 12.52.47 PM.png", "author": { "name": "fcasali", "key": "fcasali", "displayName": "Federico Casali", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-07-26T23:21:21.000+0000", "size": 102292, "mimeType": "image/png" }, { "id": "41083", "filename": "Screen Shot 2013-07-26 at 12.53.42 PM.png", "author": { "name": "fcasali", "key": "fcasali", "displayName": "Federico Casali", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-07-26T23:21:21.000+0000", "size": 65676, "mimeType": "image/png" }, { "id": "41081", "filename": "Screen Shot 2013-07-26 at 4.11.22 PM.png", "author": { "name": "fcasali", "key": "fcasali", "displayName": "Federico Casali", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-07-26T23:21:21.000+0000", "size": 47144, "mimeType": "image/png" } ], "flagged": false, "summary": "BlackBerry: 'java' processes belonging to 'Appcelerator Studio' might kill the CPU", "creator": { "name": "fcasali", "key": "fcasali", "displayName": "Federico Casali", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "fcasali", "key": "fcasali", "displayName": "Federico Casali", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "Titanium SDK 3.1.2.v20130725110651\r\nAlloy 1.2.0\r\nAppcelerator Studio 3.1.2.201307232148\r\nCLI 3.1.2\r\nNode 0.8.22\r\n", "comment": { "comments": [ { "id": "264269", "author": { "name": "mxia", "key": "mxia", "displayName": "Michael Xia", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Both Federico and Pedro experienced the issue on Mac. It will be good to know if this happens on Windows as well.\n", "updateAuthor": { "name": "mxia", "key": "mxia", "displayName": "Michael Xia", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-07-31T21:36:27.000+0000", "updated": "2013-07-31T21:36:27.000+0000" }, { "id": "264538", "author": { "name": "sgibly", "key": "sgibly", "displayName": "Shalom Gibly", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Investigated this for a while, and looks like not much can be done from the Studio side.\nWe call for a titanium process once and from that moment the node process is spawning other processes that are out of our control.\nThe previously attached screen shot do not show the process hierarchy of those Java processes. I've attached another \"processes.png\" that shows it.\nYou will notice that a node process is spawning sh processes that eventually spawn a java process. These processes on my system were getting a new pid every second, which may mean that there is some sort of a loop in the scripts that does that.\nI believe that something went wrong killing those processes and they kept on adding up.", "updateAuthor": { "name": "sgibly", "key": "sgibly", "displayName": "Shalom Gibly", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-08-01T21:17:29.000+0000", "updated": "2013-08-01T21:17:29.000+0000" }, { "id": "264542", "author": { "name": "sgibly", "key": "sgibly", "displayName": "Shalom Gibly", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Also attaching a screenshot that shows the same behavior when launching from a command-line with the following parameters:\n{code}\ntitanium --no-colors --no-prompt build --platform blackberry --sdk 3.2.0.v20130730132443 --log-level trace --target simulator --ndk /Applications/bbndk --ip-address 192.168.110.131\n{code}", "updateAuthor": { "name": "sgibly", "key": "sgibly", "displayName": "Shalom Gibly", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-08-01T21:29:44.000+0000", "updated": "2013-08-01T21:29:44.000+0000" }, { "id": "264562", "author": { "name": "mxia", "key": "mxia", "displayName": "Michael Xia", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Hi Russ, could you or Pedro help take a look at this issue? If we look at both the process hierarchy tree or the screenshot Federico attached, the Java process belongs to the \"sh\" process, which comes from the node call. Running from the command line shows the similar tree. It appears there might be cases where some Java processes spawn by CLI didn't get terminated correctly and left running, causing issue with CPU and memory.\n\nLet me know if additional information is needed. Thanks.\n", "updateAuthor": { "name": "mxia", "key": "mxia", "displayName": "Michael Xia", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-08-01T22:07:34.000+0000", "updated": "2013-08-01T22:07:34.000+0000" }, { "id": "264631", "author": { "name": "rmcmahon", "key": "rmcmahon", "displayName": "Russell McMahon", "active": true, "timeZone": "America/Los_Angeles" }, "body": "I'll take a look. The log file is retrieved on a timer and output printed to standard out. It's probably that interaction that is causing trouble, also are you able to reproduce using just terminal? It's probably easier to fix and debug if you can create a reproducible case using just CLI and terminal.", "updateAuthor": { "name": "rmcmahon", "key": "rmcmahon", "displayName": "Russell McMahon", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-08-02T01:07:22.000+0000", "updated": "2013-08-02T01:07:22.000+0000" }, { "id": "264962", "author": { "name": "rmcmahon", "key": "rmcmahon", "displayName": "Russell McMahon", "active": true, "timeZone": "America/Los_Angeles" }, "body": "https://github.com/appcelerator/titanium_mobile_blackberry/pull/148", "updateAuthor": { "name": "rmcmahon", "key": "rmcmahon", "displayName": "Russell McMahon", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-08-05T19:13:57.000+0000", "updated": "2013-08-05T19:13:57.000+0000" }, { "id": "265521", "author": { "name": "fcasali", "key": "fcasali", "displayName": "Federico Casali", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Not able to reproduce the issue using the latest 3.1.2 SDK\n\nTitanium SDK 3.1.2.v20130807111603\nAlloy 1.2.0-alpha6\nAppcelerator Studio 3.1.2.201308021524\nCLI 3.1.1\nNode 0.10.13\n\nClosing. ", "updateAuthor": { "name": "fcasali", "key": "fcasali", "displayName": "Federico Casali", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-08-08T03:12:21.000+0000", "updated": "2013-08-08T03:12:21.000+0000" } ], "maxResults": 7, "total": 7, "startAt": 0 } } }