{ "id": "155741", "key": "AC-3371", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false }, "project": { "id": "12217", "key": "AC", "name": "Appcelerator - INBOX", "projectCategory": { "id": "10000", "description": "", "name": "Customer Service" } }, "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2016-03-16T17:08:32.000+0000", "created": "2016-03-15T06:26:14.000+0000", "labels": [ "8.1", "Windows", "heap", "memory", "phone" ], "versions": [ { "id": "17038", "name": "Appcelerator Studio 4.5.0", "archived": false, "released": false } ], "issuelinks": [], "assignee": { "name": "shossain", "key": "shossain", "displayName": "Shak Hossain", "active": false, "timeZone": "America/Los_Angeles" }, "updated": "2016-03-17T06:28:12.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": "14544", "name": "Alloy", "description": "Please enter tickets related to the Alloy here." }, { "id": "14551", "name": "Studio", "description": "Please enter tickets related to Titanium Studio here." }, { "id": "14548", "name": "Titanium SDK & CLI", "description": "Please enter tickets related to the MobileSDK here." } ], "description": "I want to define heap size of memory in my app but there is no documentation available to refer.\r\nWhat is the method to set the heap size for Windows Phone 8.1 app.", "attachment": [], "flagged": false, "summary": "Windows Heap Size", "creator": { "name": "paramsb", "key": "paramsb", "displayName": "Parmeet Singh", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "paramsb", "key": "paramsb", "displayName": "Parmeet Singh", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "SDK 5.2.0.v20160220080449 \r\nOS : Windows phone 8.1 ", "comment": { "comments": [ { "id": "379891", "author": { "name": "sdarda", "key": "sdarda", "displayName": "Sharif AbuDarda", "active": false, "timeZone": "Asia/Dhaka" }, "body": "Hello,\r\n\r\n*Setting your memory configuration*\r\n\r\nBy default, Studio allocates a certain amount of memory to start (the -Xms parameter) and uses a maximum amount (the -Xmx parameter) of Java heap memory, which is usually enough for most development tasks. However, depending on the JRE that you are running and if you are working with additional plugins and have many files open, you may need to increase your amount of memory. You may also find it helpful to increase the size of the permanent generation memory (the --launcher.XXMaxPermSize parameter).\r\n\r\nIn some situations, such as when you have many projects in your workspace or when a project under source control has many files, you may get better performance by increasing the maximum heap memory (the -Xmx parameter). However, setting the memory allocation larger than the available physical memory on your machine can cause issues with Java which will severely degrade your computer's performance and should be avoided.\r\n\r\nMemory usage configuration changes are made in the .ini file. Studio must be restarted for any changes to this file to take effect.\r\n\r\nCertain parameters in the AptanaStudio3.ini or TitaniumStudio.ini file are platform-dependent; For example, only OS X needs the XstartOnFirstThread parameter.\r\n\r\nPlease follow the link http://docs.appcelerator.com/platform/latest/#!/guide/Setting_Memory_Levels for complete guidance. \r\n", "updateAuthor": { "name": "sdarda", "key": "sdarda", "displayName": "Sharif AbuDarda", "active": false, "timeZone": "Asia/Dhaka" }, "created": "2016-03-16T17:08:17.000+0000", "updated": "2016-03-16T17:08:17.000+0000" }, { "id": "379959", "author": { "name": "paramsb", "key": "paramsb", "displayName": "Parmeet Singh", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Hi Sharif,\r\n\r\nI think your suggestion is for setting heap memory for Appcelerator Studio, but I want to define the heap size for my Windows Phone 8.1 app.\r\nI think my app is consuming RAM excessively and eventually resulting into crashing and I want to reduce that.\r\nWhat are the other ways to monitor the RAM consumption and Crash events for Windows Phone app?\r\n", "updateAuthor": { "name": "paramsb", "key": "paramsb", "displayName": "Parmeet Singh", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2016-03-17T06:28:12.000+0000", "updated": "2016-03-17T06:28:12.000+0000" } ], "maxResults": 2, "total": 2, "startAt": 0 } } }