{"id":28397,"date":"2017-09-14T16:58:58","date_gmt":"2017-09-14T08:58:58","guid":{"rendered":"https:\/\/tomchun.tw\/tomchun\/?p=28397"},"modified":"2017-09-14T17:02:04","modified_gmt":"2017-09-14T09:02:04","slug":"out-of-memory","status":"publish","type":"post","link":"https:\/\/tomchun.tw\/tomchun\/2017\/09\/14\/out-of-memory\/","title":{"rendered":"WordPress\u51fa\u73feFatal error: Out of memory"},"content":{"rendered":"<p style=\"text-align: center;\"><strong><span style=\"color: #0000ff;\">\u51fa\u73feFatal error: Out of memory<br \/>\n<\/span><\/strong><strong><span style=\"color: #0000ff;\"><!--more-->\u700f\u89bd\u5668\u932f\u8aa4\u7a0b\u5f0f\u78bc\u5982\u4e0b<br \/>\n<\/span><span style=\"color: #0000ff;\">\u5927\u6982\u627e\u4e86\u4e00\u4e0bXAMPP\u76f8\u95dc\u8a0e\u8ad6<\/span><\/strong><br \/>\n<strong><span style=\"color: #0000ff;\">\u539f\u56e0\u61c9\u8a72\u662fPHP\u8a18\u61b6\u9ad4\u76f8\u95dc\u554f\u984c<\/span><\/strong><br \/>\n<strong><span style=\"color: #0000ff;\">Fatal error: Out of memory <\/span><\/strong><br \/>\n<strong><span style=\"color: #0000ff;\">(allocated 13107200) (tried to allocate 458752 bytes)<\/span><\/strong><br \/>\n<strong><span style=\"color: #0000ff;\"> in C:\\xampp\\htdocs\\tomchun\\wp-content\\<\/span><\/strong><br \/>\n<strong><span style=\"color: #0000ff;\">plugins\\a3-lazy-load\\admin\\admin-interface.php on line 2878<\/span><\/strong><br \/>\n<strong><span style=\"color: #0000ff;\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-15958 aligncenter\" src=\"https:\/\/tomchun.tw\/tomchun\/imguploads\/2017\/09\/sdfasdqq.jpg\" alt=\"\" width=\"486\" height=\"185\" \/>\u89e3\u6c7a\u65b9\u5f0f<\/span><\/strong><br \/>\n<strong><span style=\"color: #0000ff;\">\u589e\u52a0PHP\u8a18\u61b6\u9ad4:<\/span><\/strong><br \/>\n<strong><span style=\"color: #0000ff;\">; Maximum amount of memory a script may consume (128MB)<\/span><\/strong><br \/>\n<strong><span style=\"color: #0000ff;\">; http:\/\/php.net\/memory-limit<\/span><\/strong><br \/>\n<span style=\"color: #ff0000;\"><strong>memory_limit=128M<\/strong><\/span><br \/>\n<strong><span style=\"color: #0000ff;\">\u6216\u662f\u627e\u5230default-constants.php<\/span><\/strong><br \/>\n<strong><span style=\"color: #0000ff;\">\u4ee5\u4e0b\u7a0b\u5f0f\u78bc\u4fee\u6539\u6210\u9019\u6a23<\/span><\/strong><br \/>\n<strong><span style=\"color: #0000ff;\">\/\/ Define memory limits.<\/span><\/strong><br \/>\n<strong><span style=\"color: #0000ff;\"> if ( ! defined( &#8216;WP_MEMORY_LIMIT&#8217; ) ) {<\/span><\/strong><br \/>\n<strong><span style=\"color: #0000ff;\"> if ( false === wp_is_ini_value_changeable( &#8216;memory_limit&#8217; ) ) {<\/span><\/strong><br \/>\n<strong><span style=\"color: #0000ff;\"> define( &#8216;WP_MEMORY_LIMIT&#8217;, $current_limit );<\/span><\/strong><br \/>\n<strong><span style=\"color: #0000ff;\"> } elseif ( is_multisite() ) {<\/span><\/strong><br \/>\n<strong><span style=\"color: #0000ff;\"> define( &#8216;WP_MEMORY_LIMIT&#8217;, &#8216;<span style=\"color: #ff0000;\">84<\/span>M&#8217; );<\/span><\/strong><br \/>\n<strong><span style=\"color: #0000ff;\"> } else {<\/span><\/strong><br \/>\n<strong><span style=\"color: #0000ff;\"> define( &#8216;WP_MEMORY_LIMIT&#8217;, &#8216;<span style=\"color: #ff0000;\">60<\/span>M&#8217; );<\/span><\/strong><br \/>\n<strong><span style=\"color: #0000ff;\"> }<\/span><\/strong><br \/>\n<strong><span style=\"color: #0000ff;\"> }<\/span><\/strong><\/p>\n<div class=\"8174c08f3e8258bc782beea63dd170ee\" data-index=\"2\" style=\"float: none; margin:0px 0 0px 0; text-align:center;\">\n<center>\r\n\r\n<!-- \u4ea4\u63db01 -->\r\n<script async src=\"https:\/\/pagead2.googlesyndication.com\/pagead\/js\/adsbygoogle.js?client=ca-pub-1525485034639690\"\r\n     crossorigin=\"anonymous\"><\/script>\r\n\r\n<ins class=\"adsbygoogle\"\r\n     style=\"display:block\"\r\n     data-ad-client=\"ca-pub-1525485034639690\"\r\n     data-ad-slot=\"2417472866\"\r\n     data-ad-format=\"auto\"\r\n     data-full-width-responsive=\"true\"><\/ins>\r\n<script>\r\n     (adsbygoogle = window.adsbygoogle || []).push({});\r\n<\/script>\r\n\r\n<!-- Google tag (gtag.js) -->\r\n<script async src=\"https:\/\/www.googletagmanager.com\/gtag\/js?id=G-ZQM6RQ7BCG\"><\/script>\r\n<script>\r\n  window.dataLayer = window.dataLayer || [];\r\n  function gtag(){dataLayer.push(arguments);}\r\n  gtag('js', new Date());\r\n\r\n  gtag('config', 'G-ZQM6RQ7BCG');\r\n<\/script>\r\n\r\n<br>\r\n\r\n\r\n\r\n\r\n<!-- \u57df\u52d5\u5ee3\u544a -->\r\n\r\n<ins class=\"clickforceads\" style=\"display:inline-block;\" data-ad-zone=\"7246\"><\/ins>\r\n\r\n<script async type=\"text\/javascript\" src=\"\/\/cdn.holmesmind.com\/js\/init.js\"><\/script>\r\n\r\n\r\n\r\n\r\n<!-- \u57df\u52d5\u5ee3\u544a -->\r\n\r\n\r\n<\/center>\n<\/div>\n\n<div style=\"font-size: 0px; height: 0px; line-height: 0px; margin: 0; padding: 0; clear: both;\"><\/div>","protected":false},"excerpt":{"rendered":"<p>\u51fa\u73feFatal error: Out of memory<\/p>\n","protected":false},"author":1,"featured_media":27425,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[17],"tags":[],"class_list":["post-28397","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-3c"],"modified_by":"tomchun","_links":{"self":[{"href":"https:\/\/tomchun.tw\/tomchun\/wp-json\/wp\/v2\/posts\/28397","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/tomchun.tw\/tomchun\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/tomchun.tw\/tomchun\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/tomchun.tw\/tomchun\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/tomchun.tw\/tomchun\/wp-json\/wp\/v2\/comments?post=28397"}],"version-history":[{"count":0,"href":"https:\/\/tomchun.tw\/tomchun\/wp-json\/wp\/v2\/posts\/28397\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/tomchun.tw\/tomchun\/wp-json\/wp\/v2\/media\/27425"}],"wp:attachment":[{"href":"https:\/\/tomchun.tw\/tomchun\/wp-json\/wp\/v2\/media?parent=28397"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/tomchun.tw\/tomchun\/wp-json\/wp\/v2\/categories?post=28397"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/tomchun.tw\/tomchun\/wp-json\/wp\/v2\/tags?post=28397"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}