{"action":"opened","issue":{"url":"https://api.github.com/repos/EpicEricEE/ShopChest/issues/46","repository_url":"https://api.github.com/repos/EpicEricEE/ShopChest","labels_url":"https://api.github.com/repos/EpicEricEE/ShopChest/issues/46/labels{/name}","comments_url":"https://api.github.com/repos/EpicEricEE/ShopChest/issues/46/comments","events_url":"https://api.github.com/repos/EpicEricEE/ShopChest/issues/46/events","html_url":"https://github.com/EpicEricEE/ShopChest/issues/46","id":195836565,"number":46,"title":"Auto-Reloaded memory leak","user":{"login":"gonzalociocca","id":18122285,"avatar_url":"https://avatars.githubusercontent.com/u/18122285?v=3","gravatar_id":"","url":"https://api.github.com/users/gonzalociocca","html_url":"https://github.com/gonzalociocca","followers_url":"https://api.github.com/users/gonzalociocca/followers","following_url":"https://api.github.com/users/gonzalociocca/following{/other_user}","gists_url":"https://api.github.com/users/gonzalociocca/gists{/gist_id}","starred_url":"https://api.github.com/users/gonzalociocca/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gonzalociocca/subscriptions","organizations_url":"https://api.github.com/users/gonzalociocca/orgs","repos_url":"https://api.github.com/users/gonzalociocca/repos","events_url":"https://api.github.com/users/gonzalociocca/events{/privacy}","received_events_url":"https://api.github.com/users/gonzalociocca/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-12-15T15:36:24Z","updated_at":"2016-12-15T15:36:24Z","closed_at":null,"body":"the auto-reload function of shopchest is causing memory leaks, looks like entitys are removed on the wrong way, every 20mins, the shops are duplicated, and are stored in memory:\r\n\r\nStored in:\r\nnet.minecraft.server.v1_8_R3.World.entitiesById\r\nand\r\nnet.minecraft.server.v1_8_R3.WorldServer.entitiesByUUID\r\nand on EntityTracker.trackedEntities\r\n\r\nproper method to delete entities:\r\nWorldServer.entityList.remove(Entity); + WorldServer.b(entity)\r\nor\r\nentity.dead = true (auto-cleanup if its on entitylist)"}}
{"actor":{"display_login":"gonzalociocca"}}