{"id":172434,"date":"2020-10-26T01:18:55","date_gmt":"2020-10-25T17:18:55","guid":{"rendered":"http:\/\/4563.org\/?p=172434"},"modified":"2020-10-26T01:18:55","modified_gmt":"2020-10-25T17:18:55","slug":"maxpermsize-%e8%b0%83%e4%bd%8e%e4%ba%86%e5%af%b9-java-%e7%a8%8b%e5%ba%8f%e7%9a%84%e8%bf%90%e8%a1%8c%e4%bc%9a%e6%9c%89%e5%93%aa%e4%ba%9b%e5%bd%b1%e5%93%8d%ef%bc%9f","status":"publish","type":"post","link":"http:\/\/4563.org\/?p=172434","title":{"rendered":"MaxPermSize \u8c03\u4f4e\u4e86,\u5bf9 Java \u7a0b\u5e8f\u7684\u8fd0\u884c\u4f1a\u6709\u54ea\u4e9b\u5f71\u54cd\uff1f"},"content":{"rendered":"<div>\n<div>\n<div>\n<h1>                  MaxPermSize \u8c03\u4f4e\u4e86,\u5bf9 Java \u7a0b\u5e8f\u7684\u8fd0\u884c\u4f1a\u6709\u54ea\u4e9b\u5f71\u54cd\uff1f               <\/h1>\n<p> <\/p>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : tctc4869 <\/span>  <span><i><\/i> 0<\/span> <\/div>\n<div> <\/div>\n<\/p><\/div>\n<\/p><\/div>\n<\/p><\/div>\n<div isfirst=\"1\"> <\/p>\n<p>\u6211\u628a jvm \u7684\u975e\u5806\u5185\u5b58\u6700\u5927\u503c MaxPermSize \u8c03\u4f4e\u4e86,\u5bf9 java \u7a0b\u5e8f\u7684\u8fd0\u884c\uff0c\u4f1a\u6709\u54ea\u4e9b\u670d\u52a1\u5f71\u54cd\uff1f io \u6d41\u670d\u52a1\u53d7\u5230\u7684\u5f71\u54cd\u4f1a\u5f88\u5927\u4e48\uff1f\u600e\u4e48\u7528\u7a0b\u5e8f\u4ee3\u7801\u8bc1\u660e\uff1f\uff1f<\/p>\n<\/p><\/div>\n<div> <b>\u5927\u4f6c\u6709\u8a71\u8aaa<\/b> (<span>7<\/span>)        <\/div>\n<div> <\/div>\n<\/p><\/div>\n<\/p><\/div>\n<ul>\n<li data-pid=\"3877361\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : user8341 <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=512m; support was removed in 8.0                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"3877362\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : taogen <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u8c03\u4f4e\u4e86\u53ef\u80fd\u4f1a\u9891\u7e41\u89e6\u53d1 GC\uff0c\u6216\u8005\u5bfc\u81f4\u7c7b\u65e0\u6cd5\u52a0\u8f7d\u3002<\/p>\n<p>@user8341 \u4e0a\u8001\u54e5\u8bf4\u8be5\u53c2\u6570\u5728 Java 8 HotSpot \u865a\u62df\u673a\u4e2d\u5df2\u7ecf\u88ab\u5ffd\u7565\u4e86                                                            <\/p><\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"3877363\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u4e3b<\/span> <span>\u8cc7\u6df1\u5927\u4f6c : tctc4869 <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @taogen GC \u4e0d\u662f\u8ddf\u5806\u5185\u5b58\u76f8\u5173\u7684\u4e48\uff1f                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"3877364\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : taogen <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @tctc4869 \u641c\u7d22 Full GC \u7684\u89e6\u53d1\u6761\u4ef6\u3002<\/p>\n<p>\u5efa\u8bae\u7cfb\u7edf\u5b66\u4e00\u4e0b Java \u865a\u62df\u673a\u3002                                                            <\/p><\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"3877365\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : CoderGeek <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             -XX:MaxPermSize=size<\/p>\n<p> Sets the maximum permanent generation space size (in bytes). This option was deprecated in JDK 8, and superseded by the -XX:MaxMetaspaceSize option.                                                            <\/p><\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"3877366\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : ssynhtn <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             Java8 \u5f00\u59cb\u5c31\u6ca1\u6709\u6c38\u4e45\u4ee3\u4e86<br \/>\u8e72\u4e00\u4e2a Java6 \u7684\u7b54\u6848                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"3877367\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : gaius <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             Java8 \u662f meta \u533a\u4e86                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li>\n","protected":false},"excerpt":{"rendered":"<p>MaxPermSize \u8c03\u4f4e\u4e86,\u5bf9&hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[],"tags":[],"_links":{"self":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts\/172434"}],"collection":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=172434"}],"version-history":[{"count":0,"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts\/172434\/revisions"}],"wp:attachment":[{"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=172434"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=172434"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=172434"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}