{"id":5243,"date":"2016-11-16T03:27:16","date_gmt":"2016-11-16T03:27:16","guid":{"rendered":"http:\/\/www.garysieling.com\/blog\/?p=5243"},"modified":"2016-11-16T03:27:16","modified_gmt":"2016-11-16T03:27:16","slug":"fixing-error-killed-django","status":"publish","type":"post","link":"https:\/\/www.garysieling.com\/blog\/fixing-error-killed-django\/","title":{"rendered":"Fixing error &#8220;Killed&#8221; with Django"},"content":{"rendered":"<p>I found that a Python app I was installing died with the error message &#8220;Killed&#8221;.<\/p>\n<p>Apparently this is a common behavior, if the machine doesn&#8217;t have enough RAM.<\/p>\n<p>There are two apparently standard commands where I saw this:<\/p>\n<pre lang=\"python\">\npython3 manage.py migrate\npython3 manage.py runserver\n<\/pre>\n<p>For the app I was running (laice<sup><a href=\"#footnote_0_5243\" id=\"identifier_0_5243\" class=\"footnote-link footnote-identifier-link\" title=\"https:\/\/github.com\/kendricktan\/laice\">1<\/a><\/sup> ), I found experimentally that the machine needs to be a 2 GB VM.<\/p>\n<ol class=\"footnotes\"><li id=\"footnote_0_5243\" class=\"footnote\">https:\/\/github.com\/kendricktan\/laice<span class=\"footnote-back-link-wrapper\"> [<a href=\"#identifier_0_5243\" class=\"footnote-link footnote-back-link\">&#8617;<\/a>]<\/span><\/li><\/ol>","protected":false},"excerpt":{"rendered":"<p>Fixing a cryptic Django \/ Python error<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"om_disable_all_campaigns":false,"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"footnotes":""},"categories":[9],"tags":[172,333,447],"aioseo_notices":[],"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/www.garysieling.com\/blog\/wp-json\/wp\/v2\/posts\/5243"}],"collection":[{"href":"https:\/\/www.garysieling.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.garysieling.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.garysieling.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.garysieling.com\/blog\/wp-json\/wp\/v2\/comments?post=5243"}],"version-history":[{"count":0,"href":"https:\/\/www.garysieling.com\/blog\/wp-json\/wp\/v2\/posts\/5243\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.garysieling.com\/blog\/wp-json\/wp\/v2\/media?parent=5243"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.garysieling.com\/blog\/wp-json\/wp\/v2\/categories?post=5243"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.garysieling.com\/blog\/wp-json\/wp\/v2\/tags?post=5243"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}