{"action":"created","issue":{"url":"https://api.github.com/repos/mopidy/mopidy/issues/1395","repository_url":"https://api.github.com/repos/mopidy/mopidy","labels_url":"https://api.github.com/repos/mopidy/mopidy/issues/1395/labels{/name}","comments_url":"https://api.github.com/repos/mopidy/mopidy/issues/1395/comments","events_url":"https://api.github.com/repos/mopidy/mopidy/issues/1395/events","html_url":"https://github.com/mopidy/mopidy/issues/1395","id":127023461,"number":1395,"title":"MemoryError prevents Mopidy from starting","user":{"login":"dirkgroenen","id":1001391,"avatar_url":"https://avatars.githubusercontent.com/u/1001391?v=3","gravatar_id":"","url":"https://api.github.com/users/dirkgroenen","html_url":"https://github.com/dirkgroenen","followers_url":"https://api.github.com/users/dirkgroenen/followers","following_url":"https://api.github.com/users/dirkgroenen/following{/other_user}","gists_url":"https://api.github.com/users/dirkgroenen/gists{/gist_id}","starred_url":"https://api.github.com/users/dirkgroenen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dirkgroenen/subscriptions","organizations_url":"https://api.github.com/users/dirkgroenen/orgs","repos_url":"https://api.github.com/users/dirkgroenen/repos","events_url":"https://api.github.com/users/dirkgroenen/events{/privacy}","received_events_url":"https://api.github.com/users/dirkgroenen/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-01-16T13:01:13Z","updated_at":"2016-02-15T22:08:48Z","closed_at":null,"body":"Ok so I just encountered some (weird) error on my Raspberry 2 which is running the latest Mopidy icw Mopify:\r\n\r\nI was fiddling around in my house when Mopidy suddenly started lacking in playing music. I logged in into the Pi and noticed the CPU being at a full blown 100%, taken by the syslog. After tailing the syslog I saw a rapidly scrolling wall of `from tornado.ioloop import IOLoop, MemoryError` errors. I decided to kill mopidy, which stopped the errors, and reboot the Pi. \r\n\r\nAfter the reboot I wasn't able to get Mopidy working agian. The `MemoryError` error prevented it from starting. I checked my memory usage and it gave me the following result:\r\n\r\n```\r\npi@raspberrypi:~ $ free -m\r\n                    total       used       free     shared    buffers     cached\r\nMem:           925        759        166         40         23        686\r\n-/+ buffers/cache:         50        875\r\nSwap:           99          0         99\r\n\r\n```\r\n\r\nAs you can see my memory looks full, but it's mostly taken by `/buffers/cache`, which means that it's [actually not full](http://www.linuxatemyram.com/). Just to be sure I cleaned the `buffers/cache` using \r\n`$ sync && echo 3 | sudo tee /proc/sys/vm/drop_caches ` and guess what, it started working again. \r\n\r\nI know/think this issue is probably more related to Tornado, but in case it is this might be able to help other's having the same issue. "},"comment":{"url":"https://api.github.com/repos/mopidy/mopidy/issues/comments/184416139","html_url":"https://github.com/mopidy/mopidy/issues/1395#issuecomment-184416139","issue_url":"https://api.github.com/repos/mopidy/mopidy/issues/1395","id":184416139,"user":{"login":"adamcik","id":82534,"avatar_url":"https://avatars.githubusercontent.com/u/82534?v=3","gravatar_id":"","url":"https://api.github.com/users/adamcik","html_url":"https://github.com/adamcik","followers_url":"https://api.github.com/users/adamcik/followers","following_url":"https://api.github.com/users/adamcik/following{/other_user}","gists_url":"https://api.github.com/users/adamcik/gists{/gist_id}","starred_url":"https://api.github.com/users/adamcik/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adamcik/subscriptions","organizations_url":"https://api.github.com/users/adamcik/orgs","repos_url":"https://api.github.com/users/adamcik/repos","events_url":"https://api.github.com/users/adamcik/events{/privacy}","received_events_url":"https://api.github.com/users/adamcik/received_events","type":"User","site_admin":false},"created_at":"2016-02-15T22:08:48Z","updated_at":"2016-02-15T22:08:48Z","body":"Any thing we can actually do about this?"}}