{"id":23438,"date":"2018-11-20T16:48:51","date_gmt":"2018-11-20T21:48:51","guid":{"rendered":"https:\/\/mjtsai.com\/blog\/?p=23438"},"modified":"2018-11-20T16:48:51","modified_gmt":"2018-11-20T21:48:51","slug":"constraints-on-quicklook-plug-ins","status":"publish","type":"post","link":"https:\/\/mjtsai.com\/blog\/2018\/11\/20\/constraints-on-quicklook-plug-ins\/","title":{"rendered":"Constraints on QuickLook Plug-ins"},"content":{"rendered":"<p><a href=\"https:\/\/blog.timac.org\/2018\/1119-constraints-on-quicklook-plugins\/\">Alexandre Colucci<\/a>:<\/p>\n<blockquote cite=\"https:\/\/blog.timac.org\/2018\/1119-constraints-on-quicklook-plugins\/\">\n<p>A QuickLook plugin on macOS 10.14 has several constraints to satisfy. If one of the limits is exceeded, the plugin will immediately be killed and no preview will be visible. Having such restrictions makes sense but they appear to be undocumented. This article addresses the lack of information about these constraints.<\/p>\n<p>[&#8230;]<\/p>\n<p>On macOS 10.14, the QuickLook daemon applies 3 kinds of restrictions on the plugins:<\/p>\n<ul>\n<li>maximum execution duration<\/li>\n<li>maximum memory usage<\/li>\n<li>maximum number of open file descriptors.<\/li>\n<\/ul>\n<\/blockquote>","protected":false},"excerpt":{"rendered":"<p>Alexandre Colucci: A QuickLook plugin on macOS 10.14 has several constraints to satisfy. If one of the limits is exceeded, the plugin will immediately be killed and no preview will be visible. Having such restrictions makes sense but they appear to be undocumented. This article addresses the lack of information about these constraints. [&#8230;] On [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"apple_news_api_created_at":"2018-11-20T21:48:54Z","apple_news_api_id":"51f08df4-712f-4f85-a5a4-ba8eb8a9be54","apple_news_api_modified_at":"2018-11-20T21:48:55Z","apple_news_api_revision":"AAAAAAAAAAD\/\/\/\/\/\/\/\/\/\/w==","apple_news_api_share_url":"https:\/\/apple.news\/AUfCN9HEvT4WlpLqOuKm-VA","apple_news_coverimage":0,"apple_news_coverimage_caption":"","apple_news_is_hidden":false,"apple_news_is_paid":false,"apple_news_is_preview":false,"apple_news_is_sponsored":false,"apple_news_maturity_rating":"","apple_news_metadata":"\"\"","apple_news_pullquote":"","apple_news_pullquote_position":"","apple_news_slug":"","apple_news_sections":"\"\"","apple_news_suppress_video_url":false,"apple_news_use_image_component":false,"footnotes":""},"categories":[4],"tags":[30,1609,71,1103],"class_list":["post-23438","post","type-post","status-publish","format-standard","hentry","category-programming-category","tag-mac","tag-macos-10-14","tag-programming","tag-quick-look"],"apple_news_notices":[],"_links":{"self":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts\/23438","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/comments?post=23438"}],"version-history":[{"count":1,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts\/23438\/revisions"}],"predecessor-version":[{"id":23439,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts\/23438\/revisions\/23439"}],"wp:attachment":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/media?parent=23438"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/categories?post=23438"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/tags?post=23438"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}