{"action":"closed","issue":{"url":"https://api.github.com/repos/cocos2d/cocos2d-x/issues/9058","labels_url":"https://api.github.com/repos/cocos2d/cocos2d-x/issues/9058/labels{/name}","comments_url":"https://api.github.com/repos/cocos2d/cocos2d-x/issues/9058/comments","events_url":"https://api.github.com/repos/cocos2d/cocos2d-x/issues/9058/events","html_url":"https://github.com/cocos2d/cocos2d-x/issues/9058","id":48044405,"number":9058,"title":"在lua中生成的C++对象内存无法释放","user":{"login":"puckery","id":3659364,"avatar_url":"https://avatars.githubusercontent.com/u/3659364?v=3","gravatar_id":"","url":"https://api.github.com/users/puckery","html_url":"https://github.com/puckery","followers_url":"https://api.github.com/users/puckery/followers","following_url":"https://api.github.com/users/puckery/following{/other_user}","gists_url":"https://api.github.com/users/puckery/gists{/gist_id}","starred_url":"https://api.github.com/users/puckery/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/puckery/subscriptions","organizations_url":"https://api.github.com/users/puckery/orgs","repos_url":"https://api.github.com/users/puckery/repos","events_url":"https://api.github.com/users/puckery/events{/privacy}","received_events_url":"https://api.github.com/users/puckery/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":8,"created_at":"2014-11-07T03:36:06Z","updated_at":"2015-05-01T02:30:49Z","closed_at":"2015-05-01T02:30:49Z","body":"test sample：\r\ncollectgarbage(\"collect\")\r\n-- 5600.0302734375\r\nprint(\"1:\",collectgarbage(\"count\"))\r\nfor i=1,50000 do\r\nlocal p = cc.Node:create()\r\nend\r\nprint(\"2:\",collectgarbage(\"count\"))\r\ncollectgarbage(\"collect\")\r\n-- 11061.815429688\r\nprint(\"3:\",collectgarbage(\"count\"))\r\n\r\n增加的内存无法被释放！"}}