{"id":3358,"date":"2022-08-23T09:31:57","date_gmt":"2022-08-23T00:31:57","guid":{"rendered":"https:\/\/blog.rutake.com\/techmemo\/?p=3358"},"modified":"2022-08-23T09:31:58","modified_gmt":"2022-08-23T00:31:58","slug":"php-allowed-memory-size-of-bytes-exhausted-%e5%af%be%e7%ad%96","status":"publish","type":"post","link":"https:\/\/blog.rutake.com\/techmemo\/2022\/08\/23\/php-allowed-memory-size-of-bytes-exhausted-%e5%af%be%e7%ad%96\/","title":{"rendered":"PHP Allowed memory size of  bytes exhausted \u5bfe\u7b56"},"content":{"rendered":"\n<p>\u5de8\u5927\u30da\u30fc\u30b8\u306e\u7de8\u96c6\u6642\u306b\u6642\u6298\u4e0a\u8a18\u306e\u30a8\u30e9\u30fc\u304c\u3067\u3066\u305f\u306e\u3060\u304c\u3001\u30ea\u30c8\u30e9\u30a4\u3067\u4e57\u308a\u5207\u308c\u3066\u3044\u305f\u3002\u3057\u304b\u3057\u6700\u8fd1\u671d\u4e00\u306b\u983b\u767a\u3059\u308b\u3088\u3046\u306b\u306a\u3063\u305f\u305f\u3081\u6839\u672c\u5bfe\u5fdc\u3092\u3002<\/p>\n\n\n\n<p>\u4e0a\u8a18\u306f\u65e5\u6642\u30d0\u30c3\u30af\u30a2\u30c3\u30d7\u3092\u7de8\u96c6\u6642\u306b\u53d6\u5f97\u3057\u3066\u3044\u308b\u306e\u3067\u3001\u305d\u306e\u969b\u306b\u901a\u5e38\u3088\u308a\u3082\u30e1\u30e2\u30ea\u3092\u591a\u304f\u4f7f\u3046\u304b\u3089\u3089\u3057\u3044\u3002\u30e1\u30c3\u30bb\u30fc\u30b8\u3092\u898b\u308b\u3068\u30fb\u30fb\u30fb<\/p>\n\n\n\n<p>PHP Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 4214440 bytes)<\/p>\n\n\n\n<p>48M\u3050\u3089\u3044\u3042\u308c\u3070\u4e57\u308a\u5207\u308c\u308b\u3068\u307f\u305f\u3002<\/p>\n\n\n\n<p>\u306a\u306e\u3067php.ini\u306ememory_limit\u309264M\u306b\u3057\u3066\u3001Apache\u518d\u8d77\u52d5\u3057\u3066\u69d8\u5b50\u3092\u898b\u308b\u3053\u3068\u306b\u3057\u3088\u3046\u3002<\/p>\n\n\n\n<p>memory_limit=64M<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u5de8\u5927\u30da\u30fc\u30b8\u306e\u7de8\u96c6\u6642\u306b\u6642\u6298\u4e0a\u8a18\u306e\u30a8\u30e9\u30fc\u304c\u3067\u3066\u305f\u306e\u3060\u304c\u3001\u30ea\u30c8\u30e9\u30a4\u3067\u4e57\u308a\u5207\u308c\u3066\u3044\u305f\u3002\u3057 &hellip; <a href=\"https:\/\/blog.rutake.com\/techmemo\/2022\/08\/23\/php-allowed-memory-size-of-bytes-exhausted-%e5%af%be%e7%ad%96\/\">\u7d9a\u304d\u3092\u8aad\u3080 <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[16],"tags":[597,409,366],"_links":{"self":[{"href":"https:\/\/blog.rutake.com\/techmemo\/wp-json\/wp\/v2\/posts\/3358"}],"collection":[{"href":"https:\/\/blog.rutake.com\/techmemo\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.rutake.com\/techmemo\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.rutake.com\/techmemo\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.rutake.com\/techmemo\/wp-json\/wp\/v2\/comments?post=3358"}],"version-history":[{"count":1,"href":"https:\/\/blog.rutake.com\/techmemo\/wp-json\/wp\/v2\/posts\/3358\/revisions"}],"predecessor-version":[{"id":3359,"href":"https:\/\/blog.rutake.com\/techmemo\/wp-json\/wp\/v2\/posts\/3358\/revisions\/3359"}],"wp:attachment":[{"href":"https:\/\/blog.rutake.com\/techmemo\/wp-json\/wp\/v2\/media?parent=3358"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.rutake.com\/techmemo\/wp-json\/wp\/v2\/categories?post=3358"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.rutake.com\/techmemo\/wp-json\/wp\/v2\/tags?post=3358"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}