{"action":"created","issue":{"url":"https://api.github.com/repos/belyalov/tinyweb/issues/19","repository_url":"https://api.github.com/repos/belyalov/tinyweb","labels_url":"https://api.github.com/repos/belyalov/tinyweb/issues/19/labels{/name}","comments_url":"https://api.github.com/repos/belyalov/tinyweb/issues/19/comments","events_url":"https://api.github.com/repos/belyalov/tinyweb/issues/19/events","html_url":"https://github.com/belyalov/tinyweb/issues/19","id":393538030,"node_id":"MDU6SXNzdWUzOTM1MzgwMzA=","number":19,"title":"ENOMEM when running sample code from readme.md","user":{"login":"Kortenbach","id":20018063,"node_id":"MDQ6VXNlcjIwMDE4MDYz","avatar_url":"https://avatars0.githubusercontent.com/u/20018063?v=4","gravatar_id":"","url":"https://api.github.com/users/Kortenbach","html_url":"https://github.com/Kortenbach","followers_url":"https://api.github.com/users/Kortenbach/followers","following_url":"https://api.github.com/users/Kortenbach/following{/other_user}","gists_url":"https://api.github.com/users/Kortenbach/gists{/gist_id}","starred_url":"https://api.github.com/users/Kortenbach/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Kortenbach/subscriptions","organizations_url":"https://api.github.com/users/Kortenbach/orgs","repos_url":"https://api.github.com/users/Kortenbach/repos","events_url":"https://api.github.com/users/Kortenbach/events{/privacy}","received_events_url":"https://api.github.com/users/Kortenbach/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":12,"created_at":"2018-12-21T17:41:10Z","updated_at":"2018-12-30T12:08:45Z","closed_at":"2018-12-24T17:00:56Z","author_association":"NONE","body":"Make sure you are running the latest version of TinyWeb before reporting an issue.\r\n\r\n**Device and/or platform:**\r\nESP8266\r\n\r\n**Description of problem:**\r\n- I downloaded the latest Tinyweb firmware\r\n- I loaded the sample code into the ESP and ran it\r\n- Error: ENOMEM\r\n\r\n**Expected:**\r\nRunning example code\r\n\r\n**Traceback (if applicable):**\r\n```bash\r\n>>> exec(open('./TinyWebTest.py').read(),globals())\r\nTraceback (most recent call last):\r\n  File \"<stdin>\", line 1, in <module>\r\n  File \"<string>\", line 32, in <module>\r\n  File \"tinyweb/server.py\", line 651, in run\r\n  File \"uasyncio/core.py\", line 126, in run_forever\r\n  File \"uasyncio/core.py\", line 87, in run_forever\r\n  File \"tinyweb/server.py\", line 614, in _tcp_server\r\nOSError: [Errno 12] ENOMEM\r\n>>> scandone\r\n\r\n>>> gc.mem_free()\r\n13584\r\n```\r\n\r\n**Additional info:**\r\nThe code rus fine after a Hard-reset. Every re-run after that results in ENOMEM.\r\nLine 613: sock.bind(addr)\r\nLine 614: sock.listen(backlog)\r\nIt seems the socket is not freed properly or something like that?"},"comment":{"url":"https://api.github.com/repos/belyalov/tinyweb/issues/comments/450556493","html_url":"https://github.com/belyalov/tinyweb/issues/19#issuecomment-450556493","issue_url":"https://api.github.com/repos/belyalov/tinyweb/issues/19","id":450556493,"node_id":"MDEyOklzc3VlQ29tbWVudDQ1MDU1NjQ5Mw==","user":{"login":"Kortenbach","id":20018063,"node_id":"MDQ6VXNlcjIwMDE4MDYz","avatar_url":"https://avatars0.githubusercontent.com/u/20018063?v=4","gravatar_id":"","url":"https://api.github.com/users/Kortenbach","html_url":"https://github.com/Kortenbach","followers_url":"https://api.github.com/users/Kortenbach/followers","following_url":"https://api.github.com/users/Kortenbach/following{/other_user}","gists_url":"https://api.github.com/users/Kortenbach/gists{/gist_id}","starred_url":"https://api.github.com/users/Kortenbach/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Kortenbach/subscriptions","organizations_url":"https://api.github.com/users/Kortenbach/orgs","repos_url":"https://api.github.com/users/Kortenbach/repos","events_url":"https://api.github.com/users/Kortenbach/events{/privacy}","received_events_url":"https://api.github.com/users/Kortenbach/received_events","type":"User","site_admin":false},"created_at":"2018-12-30T12:08:45Z","updated_at":"2018-12-30T12:08:45Z","author_association":"NONE","body":"Do you know if there is a way to free all RAM? If there is I could start my project by doing a cleanup RAM. I then would'nt have to manually reset my ESP after each software upload..."}}
{"actor":{"display_login":"Kortenbach"}}