{"id":1361,"date":"2016-03-03T11:56:53","date_gmt":"2016-03-03T03:56:53","guid":{"rendered":"https:\/\/ai.zhousir.top\/?p=1361"},"modified":"2016-03-03T21:33:36","modified_gmt":"2016-03-03T13:33:36","slug":"android%e5%86%85%e5%ad%98%e6%b3%84%e6%bc%8f%e6%9f%a5%e6%89%be%e5%8f%8a%e8%a7%a3%e5%86%b3%e6%96%b9%e6%b3%95","status":"publish","type":"post","link":"https:\/\/ai.zhousir.top\/?p=1361","title":{"rendered":"\u5185\u5b58\u6cc4\u6f0f\u63a2\u8ba8\u4e0b(\u89e3\u51b3\u65b9\u6cd5)"},"content":{"rendered":"<p>&nbsp;<\/p>\n<p>\u5f53\u53d1\u751f\u5185\u5b58\u6cc4\u6f0f\u65f6\u9996\u5148\u8981\u67e5\u627e\u5185\u5b58\u6cc4\u6f0f\u7136\u540e\u8fdb\u884c\u89e3\u51b3.\u5185\u5b58\u6cc4\u6f0f\u7684\u68c0\u67e5\u5de5\u5177\u7528Heap,\u5206\u6790\u5de5\u5177\u4e3aMAT.<\/p>\n<p>\u5f00\u53d1\u73af\u5883DDMS\u53ef\u4ee5\u627e\u5230\u8fd9\u4e24\u4e2a\u7a0b\u5e8f.<!--more--><\/p>\n<p><strong>\u4e00\u3001\u5185\u5b58\u6cc4\u6f0f\u7684\u68c0\u67e5\u5de5\u5177Heap<\/strong><\/p>\n<p>\u5de5\u6b32\u5584\u5176\u4e8b\u5fc5\u5148\u5229\u5176\u5668\uff0c\u8981\u68c0\u6d4b\u201c\u5185\u5b58\u6cc4\u6f0f\u201d\u7684\u53d1\u751f\uff0c\u9700\u8981\u501f\u52a9DDMS\u4e2d\u7684Heap\u5de5\u5177\u53caMAT\u5de5\u5177\uff0cHeap\u5de5\u5177\u7528\u4e8e\u5927\u81f4\u5206\u6790\u662f\u5426\u5b58\u5728\u201c\u5185\u5b58\u6cc4\u6f0f\u201d\uff0c\u800cMAT\u5de5\u5177\u5219\u7528\u4e8e\u5206\u6790\u201c\u5185\u5b58\u6cc4\u6f0f\u201d\u53d1\u751f\u5728\u54ea\u91cc\u3002<\/p>\n<p>Heap\u5de5\u5177\u7684\u4f7f\u7528\u4ecb\u7ecd<\/p>\n<p><a href=\"https:\/\/ai.zhousir.top\/wp-content\/uploads\/2016\/03\/201601120923191.jpg\" rel=\"fancybox\"><img decoding=\"async\" loading=\"lazy\" src=\"https:\/\/ai.zhousir.top\/wp-content\/uploads\/2016\/03\/201601120923191.jpg\" alt=\"201601120923191\" width=\"1366\" height=\"728\" class=\"alignnone size-full wp-image-1423\" \/><\/a><\/p>\n<p>\u5177\u4f53\u64cd\u4f5c<\/p>\n<ul>\n<li><strong>1.\u5728Devices\u8bbe\u5907\u5217\u8868\u4e2d\uff0c\u627e\u5230\u4f60\u6240\u5728\u7684\u8bbe\u5907\uff0c\u70b9\u51fb\u4f60\u60f3\u8981\u76d1\u63a7\u7684\u8fdb\u7a0b\u3002<\/strong><\/li>\n<li><strong>2.\u70b9\u51fb\u201cUpdate Heap\u201d\u6309\u94ae\u66f4\u65b0\u5806\u5185\u5b58\u7684\u60c5\u51b5\u3002<\/strong><\/li>\n<li><strong>3.\u70b9\u51fb\u201cHeap\u201d\u89c6\u56fe\uff0c\u67e5\u770b\u5185\u5b58\u7684\u60c5\u51b5\u3002<\/strong><\/li>\n<li><strong>4.\u6bcf\u6b21\u5728Activity\u7684\u9000\u51fa\u548c\u8fdb\u5165\u7684\u65f6\u5019\u70b9\u51fb\u201cCause GC\u201d\uff0c\u624b\u52a8\u8c03\u7528GC\u91ca\u653e\u5e94\u7528\u7684\u5185\u5b58\u3002<\/strong><\/li>\n<li><strong>5.\u89c2\u5bdfdata oject\u90a3\u4e00\u884c\uff0c\u6bcf\u4e00\u6b21\u70b9\u51fb\u201cCasue GC\u201d\u7684\u65f6\u5019\uff0c\u89c2\u5bdfTotal Size\u7684\u503c\uff0c\u5982\u679c\u8be5\u503c\u4e0d\u65ad\u589e\u52a0\uff0c\u5219\u8bf4\u660e\u8be5\u5e94\u7528\u7a0b\u5e8f\u5b58\u5728\u201c\u5185\u5b58\u6cc4\u6f0f\u201d\u3002<\/strong><\/li>\n<\/ul>\n<p>\u6211\u4eec\u5148\u6a21\u62df\u4e00\u4e0b\u5185\u5b58\u6cc4\u6f0f\uff0c\u7136\u540e\u901a\u8fc7Heap\u5de5\u5177\u6765\u5224\u65ad\u4e00\u4e0b\u662f\u5426\u5b58\u5728\u5185\u5b58\u6cc4\u6f0f\u3002<br \/>\n\u4e0a\u4e00\u6bb5\u5b58\u5728\u5185\u5b58\u6cc4\u6f0f\u7684\u4ee3\u7801\uff1a<\/p>\n<p>[java]public class LeakAty extends Activity {<\/p>\n<p> @Override<br \/>\n protected void onCreate(Bundle savedInstanceState) {<br \/>\n  super.onCreate(savedInstanceState);<br \/>\n  setContentView(R.layout.aty_leak);<br \/>\n  testLeak();<\/p>\n<p> }<\/p>\n<p> \/**<br \/>\n  * \u6d4b\u8bd5\u5185\u5b58\u6cc4\u6f0f\u7684\u4ee3\u7801<br \/>\n  *\/<br \/>\n private void testLeak() {<br \/>\n  new Thread(new Runnable() {<\/p>\n<p>   @Override<br \/>\n   public void run() {<br \/>\n    while (true) {<br \/>\n     try {<br \/>\n      Thread.sleep(1000);<br \/>\n     } catch (InterruptedException e) {<br \/>\n      e.printStackTrace();<br \/>\n     }<br \/>\n    }<br \/>\n   }<br \/>\n  }).start();<br \/>\n }<br \/>\n[\/java]<\/p>\n<p>\u4e0a\u8ff0\u7684\u4ee3\u7801\u5b58\u5728\u5185\u5b58\u6cc4\u6f0f\uff0cnew Runnable(){}\u662f\u4e00\u4e2a\u975e\u9759\u6001\u7684\u533f\u540d\u5185\u90e8\u7c7b\uff0c\u6240\u4ee5\u5b83\u4f1a\u5f3a\u5f15\u7528\u521b\u5efa\u5b83\u7684\u5916\u56f4\u5bf9\u8c61LeakAty\uff0c\u6211\u4eec\u6765\u6d4b\u8bd5\u4e00\u4e0b\u5185\u5b58\u6cc4\u6f0f\u7684\u8fc7\u7a0b\uff0c\u5f00\u542f\u624b\u673a\u7684\u65b9\u5411\u65cb\u8f6c\u529f\u80fd\uff0c\u4e0d\u65ad\u5730\u65cb\u8f6c\u624b\u673a\uff0c\u8ba9LeakAty\u4e0d\u65ad\u5730\u521b\u5efa\u65b0\u7684\u5b9e\u4f8b\u3002\u7406\u8bba\u4e0a\u5982\u679c\u4e0d\u5b58\u5728\u4e0a\u8ff0\u6cc4\u6f0f\u7684\u4ee3\u7801\uff0c\u4e4b\u524d\u7684Activity\u4f1a\u5728onDestory\u4e4b\u540e\u88ab\u56de\u6536\u5185\u5b58\u3002\u800c\u4e00\u65e6\u5b58\u5728\u4e0a\u8ff0\u6cc4\u6f0f\u7684\u4ee3\u7801\uff0c\u65b0\u521b\u5efa\u7684Ruannale\u5b9e\u4f8b\u4f1a\u4e00\u76f4\u5904\u4e8e\u8fd0\u884c\u72b6\u6001\uff0c\u5b83\u4e0d\u4f1a\u88ab\u56de\u6536\uff0c\u800c\u5b83\u5f3a\u5f15\u7528\u7684LeakAty\u5f53\u7136\u4e5f\u4e0d\u4f1a\u88ab\u56de\u6536\uff0c\u6240\u4ee5\u5728\u5c4f\u5e55\u4e0d\u65ad\u65cb\u8f6c\uff0c\u4e4b\u524d\u521b\u5efa\u7684LeakAty\u5c31\u4e0d\u4f1a\u88ab\u91ca\u653e\uff0c\u4f1a\u5bfc\u81f4\u65cb\u8f6cn\u6b21\uff0c\u5185\u5b58\u4e2d\u5c31\u5b58\u5728n+1\u4e2a\u7684LeakAty\u5b9e\u4f8b\u3002<br \/>\nHeap\u5de5\u5177\u7b2c\u4e00\u6b21\u6309\u4e0bCause GC\u6309\u94ae\u7684\u622a\u56fe:<\/p>\n<p><a href=\"https:\/\/ai.zhousir.top\/wp-content\/uploads\/2016\/03\/201601120923202.png\" rel=\"fancybox\"><img decoding=\"async\" loading=\"lazy\" src=\"https:\/\/ai.zhousir.top\/wp-content\/uploads\/2016\/03\/201601120923202.png\" alt=\"201601120923202\" width=\"1366\" height=\"728\" class=\"alignnone size-full wp-image-1424\" \/><\/a><\/p>\n<p>\u4e0a\u56fe\u7684data object\u7684Total Size\u7684\u5927\u5c0f\u4e3a1.031M\u3002\u7ecf\u8fc7\u591a\u6b21\u7684\u65cb\u8f6c\u5c4f\u5e55\u4e4b\u540e\uff0c\u6211\u4eec\u518d\u770b\u4e00\u4e0b\u622a\u56fe<\/p>\n<p><a href=\"https:\/\/ai.zhousir.top\/wp-content\/uploads\/2016\/03\/201601120923203.png\" rel=\"fancybox\"><img decoding=\"async\" loading=\"lazy\" src=\"https:\/\/ai.zhousir.top\/wp-content\/uploads\/2016\/03\/201601120923203.png\" alt=\"201601120923203\" width=\"1366\" height=\"728\" class=\"alignnone size-full wp-image-1426\" \/><\/a><\/p>\n<p>Total Size\u53d8\u6210\u4e862.059M\uff0c\u4ece1.031M\u52302.059M\uff0c\u6bcf\u6b21\u8c03\u7528GC\u7684\u8fc7\u7a0b\u4e2ddata object\u7684\u603b\u5927\u5c0f\u6ca1\u6709\u56de\u843d\uff0c\u6240\u4ee5\u53ef\u4ee5\u8bc1\u5b9e\u4e0a\u9762\u7684\u4ee3\u7801\u786e\u5b9e\u662f\u5b58\u5728\u5185\u5b58\u6cc4\u6f0f\u7684\u95ee\u9898\uff0c\u90a3\u4e48\u6cc4\u6f0f\u53d1\u751f\u5728\u54ea\u91cc\uff1f\u7b54\u6848\u53ef\u4ee5\u901a\u8fc7MAT\u5de5\u5177\u6765\u5206\u6790\u5f97\u5230\u3002<\/p>\n<p><strong>\u4e09\u3001\u5185\u5b58\u6cc4\u6f0f\u7684\u5206\u6790\u5de5\u5177MAT<\/strong><\/p>\n<p>\u8981\u901a\u8fc7MAT\u5206\u6790\uff0c\u9700\u8981\u63d0\u4f9b\u4e00\u4e2a.hprof\u6587\u4ef6\u3002\u6211\u4eec\u53ef\u4ee5\u901a\u8fc7\u201dDump HPROF file\u201d\u6309\u94ae\u8f6c\u5b58\u5f53\u524d\u7684\u5806\u5185\u5b58\u4fe1\u606f\u3002\u6211\u4eec\u5c06\u5176\u4fdd\u5b58\u4e3a1.hprof\u3002<\/p>\n<p><a href=\"https:\/\/ai.zhousir.top\/wp-content\/uploads\/2016\/03\/201601120923204.png\" rel=\"fancybox\"><img decoding=\"async\" loading=\"lazy\" src=\"https:\/\/ai.zhousir.top\/wp-content\/uploads\/2016\/03\/201601120923204.png\" alt=\"201601120923204\" width=\"1366\" height=\"728\" class=\"alignnone size-full wp-image-1427\" \/><\/a><\/p>\n<p>\u5bfc\u51fa\u76841.hprof\u7684\u683c\u5f0f\u9700\u8981\u901a\u8fc7..\\sdk\\tools\\\u76ee\u5f55\u4e0b\u7684hprof-conv.exe\u5de5\u5177\u8fdb\u884c\u8f6c\u6362\u624d\u80fd\u88abMAT\u6210\u529f\u5bfc\u5165\uff0c\u6211\u4eec\u5c06\u5176\u8f6c\u6362\u6210out1.hprof<br \/>\n<a href=\"https:\/\/ai.zhousir.top\/wp-content\/uploads\/2016\/03\/201601120923205.png\" rel=\"fancybox\"><img decoding=\"async\" loading=\"lazy\" src=\"https:\/\/ai.zhousir.top\/wp-content\/uploads\/2016\/03\/201601120923205.png\" alt=\"201601120923205\" width=\"659\" height=\"434\" class=\"alignnone size-full wp-image-1428\" srcset=\"https:\/\/ai.zhousir.top\/wp-content\/uploads\/2016\/03\/201601120923205.png 659w, https:\/\/ai.zhousir.top\/wp-content\/uploads\/2016\/03\/201601120923205-90x60.png 90w\" sizes=\"(max-width: 659px) 100vw, 659px\" \/><\/a><\/p>\n<p>\u5c06out1.hprof\u5bfc\u5165\u5230MAT\u5de5\u5177\u4e2d,File-&gt;Open Heap Dump\u2026<\/p>\n<p><a href=\"https:\/\/ai.zhousir.top\/wp-content\/uploads\/2016\/03\/201601120923206.png\" rel=\"fancybox\"><img decoding=\"async\" loading=\"lazy\" src=\"https:\/\/ai.zhousir.top\/wp-content\/uploads\/2016\/03\/201601120923206.png\" alt=\"201601120923206\" width=\"1366\" height=\"728\" class=\"alignnone size-full wp-image-1429\" \/><\/a><\/p>\n<p>\u70b9\u51fb\u5de6\u8fb9\u7684\u6807\u7b7eOverview,Actions-&gt;Histogram<\/p>\n<p><a href=\"https:\/\/ai.zhousir.top\/wp-content\/uploads\/2016\/03\/201601120923207.png\" rel=\"fancybox\"><img decoding=\"async\" loading=\"lazy\" src=\"https:\/\/ai.zhousir.top\/wp-content\/uploads\/2016\/03\/201601120923207.png\" alt=\"201601120923207\" width=\"1366\" height=\"728\" class=\"alignnone size-full wp-image-1430\" \/><\/a><\/p>\n<p>\u5728Histogram\u754c\u9762\u4e2d\uff0c\u56e0\u4e3a\u6211\u4eec\u60f3\u8981\u77e5\u9053Activity\u662f\u5426\u6cc4\u6f0f\u4e86\uff0c\u6240\u4ee5\u8f93\u5165\u5173\u952e\u8bcdActivity,\u7136\u540e\u6309\u4e0b\u56de\u8f66\u952e\u3002<\/p>\n<p><a href=\"https:\/\/ai.zhousir.top\/wp-content\/uploads\/2016\/03\/201601120923208.png\" rel=\"fancybox\"><img decoding=\"async\" loading=\"lazy\" src=\"https:\/\/ai.zhousir.top\/wp-content\/uploads\/2016\/03\/201601120923208.png\" alt=\"201601120923208\" width=\"1366\" height=\"728\" class=\"alignnone size-full wp-image-1431\" \/><\/a><\/p>\n<p>\u4e4b\u540e\u4fbf\u53ef\u4ee5\u5f97\u5230Activity\u7684\u76f8\u5173\u7684\u641c\u7d22\u7ed3\u679c,\u4e0b\u56fe\u7684\u641c\u7d22\u7ed3\u679c\u4e2dActivity\u7684\u5b9e\u4f8b\u67097\u4e2a\u3002\u70b9\u51fb\u9009\u4e2d\u4e0b\u56fe\u6807\u7ea2\u8272\u6846\u6846\u7684\u5730\u65b9\uff0c\u53f3\u952e-&gt;Merge Shortest Paths to GC Roots-&gt;exclude all phantom\/weak\/soft etc. references\u3002\u6392\u9664\u865a\u5f15\u7528\u3001\u5f31\u5f15\u7528\u3001\u8f6f\u5f15\u7528\u7684\u5b9e\u4f8b\uff0c\u5269\u4e0b\u7684\u90fd\u662f\u5f3a\u5f15\u7528\u5b9e\u4f8b\u3002<\/p>\n<p><a href=\"https:\/\/ai.zhousir.top\/wp-content\/uploads\/2016\/03\/201601120923209.png\" rel=\"fancybox\"><img decoding=\"async\" loading=\"lazy\" src=\"https:\/\/ai.zhousir.top\/wp-content\/uploads\/2016\/03\/201601120923209.png\" alt=\"201601120923209\" width=\"1366\" height=\"728\" class=\"alignnone size-full wp-image-1432\" \/><\/a><\/p>\n<p>\u4ece\u8fc7\u6ee4\u51fa\u6765\u7684\u5f3a\u5f15\u7528\u7684\u5217\u8868\u4e2d\uff0c\u6211\u4eec\u53ef\u4ee5\u770b\u5230\u8fd9\u4e03\u4e2a\u5b9e\u4f8b\u90fd\u662f\u88abThread\u6240\u5f15\u7528\u4e86\u3002\u6240\u4ee5\u8bc1\u5b9e\u4e0a\u9762\u7684\u4ee3\u7801\u786e\u5b9e\u5b58\u5728\u5185\u5b58\u6cc4\u6f0f\u3002<\/p>\n<p><a href=\"https:\/\/ai.zhousir.top\/wp-content\/uploads\/2016\/03\/2016011209232010.png\" rel=\"fancybox\"><img decoding=\"async\" loading=\"lazy\" src=\"https:\/\/ai.zhousir.top\/wp-content\/uploads\/2016\/03\/2016011209232010.png\" alt=\"2016011209232010\" width=\"1366\" height=\"728\" class=\"alignnone size-full wp-image-1433\" \/><\/a><\/p>\n<p>&nbsp;<\/p>\n<p><strong>\u56db\u3001\u4f7f\u7528 LeakCanary \u68c0\u6d4b Android \u7684\u5185\u5b58\u6cc4\u6f0f<\/strong><\/p>\n<p>\u4ec0\u4e48\u662f\u00a0<a data-spm-anchor-id=\"5176.blog3009.yqblogcon1.23\">LeakCanary<\/a>\u00a0\u5462\uff1f\u4e3a\u4ec0\u4e48\u9009\u62e9\u5b83\u6765\u68c0\u6d4b Android \u7684\u5185\u5b58\u6cc4\u6f0f\u5462\uff1f<\/p>\n<p>\u522b\u6025\uff0c\u8ba9\u6211\u6765\u6162\u6162\u544a\u8bc9\u5927\u5bb6\uff01<\/p>\n<p>LeakCanary \u662f\u56fd\u5916\u4e00\u4f4d\u5927\u795e Pierre-Yves Ricau \u5f00\u53d1\u7684\u4e00\u4e2a\u7528\u4e8e\u68c0\u6d4b\u5185\u5b58\u6cc4\u9732\u7684\u5f00\u6e90\u7c7b\u5e93\u3002\u4e00\u822c\u60c5\u51b5\u4e0b\uff0c\u5728\u5bf9\u6218\u5185\u5b58\u6cc4\u9732\u4e2d\uff0c\u6211\u4eec\u90fd\u4f1a\u7ecf\u8fc7\u4ee5\u4e0b\u51e0\u4e2a\u5173\u952e\u6b65\u9aa4\uff1a<\/p>\n<p>1\u3001\u4e86\u89e3 OutOfMemoryError \u60c5\u51b5\u3002<\/p>\n<p>2\u3001\u91cd\u73b0\u95ee\u9898\u3002<\/p>\n<p>3\u3001\u5728\u53d1\u751f\u5185\u5b58\u6cc4\u9732\u7684\u65f6\u5019\uff0c\u628a\u5185\u5b58 Dump \u51fa\u6765\u3002<\/p>\n<p>4\u3001\u5728\u53d1\u751f\u5185\u5b58\u6cc4\u9732\u7684\u65f6\u5019\uff0c\u628a\u5185\u5b58 Dump \u51fa\u6765\u3002<\/p>\n<p>5\u3001\u8ba1\u7b97\u8fd9\u4e2a\u5bf9\u8c61\u5230 GC roots \u7684\u6700\u77ed\u5f3a\u5f15\u7528\u8def\u5f84\u3002<\/p>\n<p>6\u3001\u786e\u5b9a\u5f15\u7528\u8def\u5f84\u4e2d\u7684\u54ea\u4e2a\u5f15\u7528\u662f\u4e0d\u8be5\u6709\u7684\uff0c\u7136\u540e\u4fee\u590d\u95ee\u9898\u3002<\/p>\n<p>\u5f88\u590d\u6742\u5bf9\u5427\uff1f<\/p>\n<p>\u5982\u679c\u6709\u4e00\u4e2a\u7c7b\u5e93\u80fd\u5728\u53d1\u751f OOM \u4e4b\u524d\u628a\u8fd9\u4e9b\u4e8b\u60c5\u5168\u90e8\u90fd\u641e\u5b9a\uff0c\u7136\u540e\u4f60\u53ea\u8981\u4fee\u590d\u8fd9\u4e9b\u95ee\u9898\u5c31\u597d\u4e86\u3002LeakCanary \u505a\u7684\u5c31\u662f\u8fd9\u4ef6\u4e8b\u60c5\u3002\u4f60\u53ef\u4ee5\u5728 debug \u5305\u4e2d\u8f7b\u677e\u68c0\u6d4b\u5185\u5b58\u6cc4\u9732\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>&nbsp; \u5f53\u53d1\u751f\u5185\u5b58\u6cc4\u6f0f\u65f6\u9996\u5148\u8981\u67e5\u627e\u5185\u5b58\u6cc4\u6f0f\u7136\u540e\u8fdb\u884c\u89e3\u51b3.\u5185\u5b58\u6cc4\u6f0f\u7684\u68c0\u67e5\u5de5\u5177\u7528Heap,\u5206\u6790\u5de5\u5177\u4e3aMAT. [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[45],"tags":[77],"_links":{"self":[{"href":"https:\/\/ai.zhousir.top\/index.php?rest_route=\/wp\/v2\/posts\/1361"}],"collection":[{"href":"https:\/\/ai.zhousir.top\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/ai.zhousir.top\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/ai.zhousir.top\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/ai.zhousir.top\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1361"}],"version-history":[{"count":7,"href":"https:\/\/ai.zhousir.top\/index.php?rest_route=\/wp\/v2\/posts\/1361\/revisions"}],"predecessor-version":[{"id":1434,"href":"https:\/\/ai.zhousir.top\/index.php?rest_route=\/wp\/v2\/posts\/1361\/revisions\/1434"}],"wp:attachment":[{"href":"https:\/\/ai.zhousir.top\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1361"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ai.zhousir.top\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1361"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ai.zhousir.top\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1361"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}