{ "id": "149647", "key": "TIMOB-19315", "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": [], "resolution": { "id": "7", "description": "", "name": "Invalid" }, "resolutiondate": "2020-01-30T10:50:08.000+0000", "created": "2015-07-13T13:38:25.000+0000", "priority": { "name": "None", "id": "6" }, "labels": [], "versions": [], "issuelinks": [], "assignee": { "name": "pinnamuri", "key": "pinnamuri", "displayName": "Praveen Innamuri", "active": false, "timeZone": "America/Los_Angeles" }, "updated": "2020-01-31T10:29:58.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": "10202", "name": "Android", "description": "Android Platform" }, { "id": "13103", "name": "CLI", "description": "Node-based command line interface" } ], "description": "Setting *android.javac.maxMemory* and *android.dx.maxMemory* properties in tiapp.xml never works.\r\n\r\n+Test Case:+\r\n\r\n{code}\r\n 1024M\r\n 2048M\r\n{code}\r\n\r\n+Expected Behaviour+\r\n\r\nShould accept the values from tiapp.xml\r\n\r\n+Actual Behaviour+\r\nit always takes *256M / 1024M* which is default. \r\n\r\nThe below one works.\r\n\r\n{code}\r\n 1024M\r\n 2048M\r\n{code}\r\n\r\nTypo issue at https://github.com/appcelerator/titanium_mobile/blob/afcd78293e0f9835c1d244b9dace47e2afb692a4/android/cli/commands/_build.js#L927", "attachment": [], "flagged": false, "summary": "Android: CLI - android.dx.maxMemory not working - typo issue at _build.js", "creator": { "name": "mano_mykingdom", "key": "mano_mykingdom", "displayName": "Manojkumar Murugesan", "active": true, "timeZone": "Asia/Kolkata" }, "subtasks": [], "reporter": { "name": "mano_mykingdom", "key": "mano_mykingdom", "displayName": "Manojkumar Murugesan", "active": true, "timeZone": "Asia/Kolkata" }, "environment": "Titanium SDK 4.1.0.GA\r\nCLI 4.1.0.GA", "closedSprints": [ { "id": 1177, "state": "closed", "name": "2020 Sprint 2", "startDate": "2020-01-20T17:44:37.733Z", "endDate": "2020-01-31T17:44:00.000Z", "completeDate": "2020-01-31T16:57:44.689Z", "originBoardId": 114 } ], "comment": { "comments": [ { "id": "404338", "author": { "name": "caioiglesias88", "key": "caioiglesias88", "displayName": "Caio Iglesias", "active": true, "timeZone": "Europe/Amsterdam" }, "body": "This is not a bug. The property names that should be used on tiapp.xml are properly documented: http://docs.appcelerator.com/platform/latest/#!/guide/Titanium_CLI_Options-section-src-37549003_TitaniumCLIOptions-android.javac.maxmemory and http://docs.appcelerator.com/platform/latest/#!/guide/Titanium_CLI_Options-section-src-37549003_TitaniumCLIOptions-android.dx.maxmemory", "updateAuthor": { "name": "caioiglesias88", "key": "caioiglesias88", "displayName": "Caio Iglesias", "active": true, "timeZone": "Europe/Amsterdam" }, "created": "2017-01-10T11:34:08.000+0000", "updated": "2017-01-10T11:34:08.000+0000" }, { "id": "453911", "author": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "body": "As stated in the docs, the property must be named \"android.javac.maxmemory\".", "updateAuthor": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "created": "2020-01-30T10:50:08.000+0000", "updated": "2020-01-30T10:50:08.000+0000" }, { "id": "453964", "author": { "name": "ssaddique", "key": "ssaddique", "displayName": "Sohail Saddique", "active": true, "timeZone": "Europe/London" }, "body": "As stated above, this ticket is invalid. Closing.", "updateAuthor": { "name": "ssaddique", "key": "ssaddique", "displayName": "Sohail Saddique", "active": true, "timeZone": "Europe/London" }, "created": "2020-01-31T10:29:49.000+0000", "updated": "2020-01-31T10:29:49.000+0000" } ], "maxResults": 4, "total": 4, "startAt": 0 } } }