{
   "expand": "operations,versionedRepresentations,editmeta,changelog,renderedFields",
   "id": "377146",
   "self": "https://bugs.mojang.com/rest/api/2/issue/377146",
   "key": "BDS-9286",
   "fields": {
      "issuetype": "1",
      "project": "11700",
      "fixVersions": [],
      "resolution": "7",
      "customfield_10500": {
         "self": "https://bugs.mojang.com/rest/api/2/customFieldOption/10300",
         "value": "Unconfirmed",
         "id": "10300",
         "disabled": false
      },
      "customfield_12800": null,
      "customfield_12602": [],
      "customfield_12601": null,
      "customfield_12604": null,
      "customfield_12603": null,
      "customfield_12606": null,
      "customfield_12605": null,
      "customfield_12608": null,
      "resolutiondate": "2020-11-18T03:35:56.000+0200",
      "customfield_12607": null,
      "customfield_12609": null,
      "workratio": -1,
      "lastViewed": null,
      "watches": {
         "self": "https://bugs.mojang.com/rest/api/2/issue/BDS-9286/watchers",
         "watchCount": 2,
         "isWatching": false
      },
      "created": "2020-10-07T20:06:22.000+0300",
      "customfield_12000": null,
      "customfield_12201": null,
      "customfield_12600": null,
      "labels": [
         "awaiting-response"
      ],
      "customfield_11700": "{}",
      "versions": [
         "19608"
      ],
      "issuelinks": [
         {
            "id": "248128",
            "self": "https://bugs.mojang.com/rest/api/2/issueLink/248128",
            "type": "10102",
            "inwardIssue": "463344"
         },
         {
            "id": "260601",
            "self": "https://bugs.mojang.com/rest/api/2/issueLink/260601",
            "type": "10102",
            "inwardIssue": "488126"
         }
      ],
      "assignee": null,
      "updated": "2021-12-14T13:47:15.000+0200",
      "status": "5",
      "description": "!image-2020-10-07-19-05-04-743.png!\r\n\r\nThis was with a slot limit of\u00a0700000. 5.7GB ram usage. Crashes are rather random at these high numbers, and I managed to get it to crash at even only 600000 too, so yea. It should definitely be fixed and made so slot amount really is just a number and not a performance indicator.",
      "customfield_11100": null,
      "customfield_11300": null,
      "customfield_11500": "421451",
      "customfield_12503": null,
      "customfield_12700": null,
      "customfield_12502": null,
      "customfield_12504": null,
      "attachment": [
         "340712"
      ],
      "summary": "Bedrock Server will start consuming exponentially much RAM when using high slot amounts",
      "creator": "JIRAUSER557965",
      "reporter": "JIRAUSER557965",
      "customfield_10002": null,
      "customfield_12501": null,
      "customfield_12500": null,
      "customfield_11601": null,
      "customfield_11600": "0|i1ms6n:",
      "environment": "Windows 10, latest consumer release",
      "customfield_11801": null,
      "customfield_11800": null,
      "customfield_11602": null,
      "customfield_11802": null,
      "comment": {
         "comments": [
            {
               "self": "https://bugs.mojang.com/rest/api/2/issue/377146/comment/824614",
               "id": "824614",
               "author": "ionicecko",
               "body": "Can you please elaborate on the problem and include steps to reproduce.\r\n\r\nAre you saying that merely adding high slots and starting the server will immediately result in high RAM utilisation?\r\n\r\nPlease use the template below which helps include the information volunteers need to reproduce your issue:\r\n{quote}\r\nh4. Summary\r\nThis is a brief summary of what happens\r\n\r\nh4. Steps to reproduce...\r\n# Set X in server.properties\r\n# Run server\r\n# Connect to server and chop tree\r\n# GUI goes rainbow\r\n\r\nh4. What I expected to happen...\r\nWhat did you expect to happen when performing said steps (sometimes this is obvious as it may be in this case)\r\n\r\nh4. What actually happened...\r\nWhat did you see/experience\r\n{quote}\r\n",
               "updateAuthor": "ionicecko",
               "created": "2020-10-13T16:37:17.785+0300",
               "updated": "2020-10-13T16:37:17.785+0300"
            },
            {
               "self": "https://bugs.mojang.com/rest/api/2/issue/377146/comment/824644",
               "id": "824644",
               "author": "JIRAUSER557965",
               "body": "h4. Summary\r\n\r\nThe server uses tons of RAM when using high slots\r\nh4. Steps to reproduce...\r\n # Set slots to\u00a0600000 (or any other high value, maybe lower / higher) in server.properties\r\n # Run server\r\n # Check RAM usage\r\n\r\nh4. What I expected to happen...\r\n\r\nServer uses same RAM amount independent on slot amount (like in java)\r\nh4. What actually happened...\r\n\r\nServer RAM either depends on slot amount, or it simply can't handle the slots and freaks out, using way too much RAM compared to normal slot amounts like 50",
               "updateAuthor": "JIRAUSER557965",
               "created": "2020-10-13T17:07:37.189+0300",
               "updated": "2020-10-13T17:07:37.189+0300"
            },
            {
               "self": "https://bugs.mojang.com/rest/api/2/issue/377146/comment/824647",
               "id": "824647",
               "author": "ionicecko",
               "body": "Hi Jorge,\r\n\r\nBased on the how-to document this would appear to be expected behavior, excerpt below.\r\n\r\n{quote}\r\nmax-players\tAny integer\t10\tAlways\tThe maximum numbers of players that should be able to play on the server. *Higher values have performance impact.*\r\n{quote}",
               "updateAuthor": "ionicecko",
               "created": "2020-10-13T17:13:03.889+0300",
               "updated": "2020-10-13T17:13:03.889+0300"
            }
         ],
         "maxResults": 3,
         "total": 3,
         "startAt": 0
      },
      "votes": {
         "self": "https://bugs.mojang.com/rest/api/2/issue/BDS-9286/votes",
         "votes": 0,
         "hasVoted": false
      }
   },
   "changelog": {
      "startAt": 0,
      "maxResults": 8,
      "total": 8,
      "histories": [
         {
            "id": "1834054",
            "author": "JIRAUSER557965",
            "created": "2020-10-07T20:07:12.871+0300",
            "items": [
               {
                  "field": "environment",
                  "fieldtype": "jira",
                  "from": null,
                  "fromString": null,
                  "to": null,
                  "toString": "Windows 10, latest consumer release"
               }
            ]
         },
         {
            "id": "1838456",
            "author": "ionicecko",
            "created": "2020-10-13T16:37:24.696+0300",
            "items": [
               {
                  "field": "labels",
                  "fieldtype": "jira",
                  "from": null,
                  "fromString": "",
                  "to": null,
                  "toString": "awaiting-response"
               }
            ]
         },
         {
            "id": "1838457",
            "author": "ionicecko",
            "created": "2020-10-13T16:37:28.929+0300",
            "items": [
               {
                  "field": "resolution",
                  "fieldtype": "jira",
                  "from": null,
                  "fromString": null,
                  "to": "10001",
                  "toString": "Awaiting Response"
               },
               {
                  "field": "status",
                  "fieldtype": "jira",
                  "from": "1",
                  "fromString": "Open",
                  "to": "5",
                  "toString": "Resolved"
               }
            ]
         },
         {
            "id": "1838503",
            "author": "arisabot",
            "created": "2020-10-13T17:07:48.422+0300",
            "items": [
               {
                  "field": "resolution",
                  "fieldtype": "jira",
                  "from": "10001",
                  "fromString": "Awaiting Response",
                  "to": null,
                  "toString": null
               },
               {
                  "field": "status",
                  "fieldtype": "jira",
                  "from": "5",
                  "fromString": "Resolved",
                  "to": "4",
                  "toString": "Reopened"
               }
            ]
         },
         {
            "id": "1839350",
            "author": "JIRAUSER484247",
            "created": "2020-10-14T16:13:26.702+0300",
            "items": [
               {
                  "field": "ADO",
                  "fieldtype": "custom",
                  "from": null,
                  "fromString": null,
                  "to": null,
                  "toString": "421451"
               },
               {
                  "field": "status",
                  "fieldtype": "jira",
                  "from": "4",
                  "fromString": "Reopened",
                  "to": "4",
                  "toString": "Reopened"
               }
            ]
         },
         {
            "id": "1884549",
            "author": "ionicecko",
            "created": "2020-11-18T03:35:56.671+0200",
            "items": [
               {
                  "field": "resolution",
                  "fieldtype": "jira",
                  "from": null,
                  "fromString": null,
                  "to": "7",
                  "toString": "Invalid"
               },
               {
                  "field": "status",
                  "fieldtype": "jira",
                  "from": "4",
                  "fromString": "Reopened",
                  "to": "5",
                  "toString": "Resolved"
               }
            ]
         },
         {
            "id": "2344674",
            "author": "JIRAUSER648376",
            "created": "2021-08-30T12:05:14.955+0300",
            "items": [
               {
                  "field": "Link",
                  "fieldtype": "jira",
                  "from": null,
                  "fromString": null,
                  "to": "BDS-14890",
                  "toString": "This issue is duplicated by BDS-14890"
               }
            ]
         },
         {
            "id": "2484661",
            "author": "JIRAUSER648376",
            "created": "2021-12-14T13:47:15.924+0200",
            "items": [
               {
                  "field": "Link",
                  "fieldtype": "jira",
                  "from": null,
                  "fromString": null,
                  "to": "BDS-16521",
                  "toString": "This issue is duplicated by BDS-16521"
               }
            ]
         }
      ]
   }
}