{"id":901,"date":"2014-02-21T11:38:35","date_gmt":"2014-02-21T03:38:35","guid":{"rendered":"http:\/\/blog.amjet.biz\/IT\/?p=901"},"modified":"2014-10-23T10:08:08","modified_gmt":"2014-10-23T02:08:08","slug":"eclipse-weblogic-java-lang-outofmemoryerror-permgen-space-error","status":"publish","type":"post","link":"https:\/\/blog.amjet.biz\/IT\/?p=901","title":{"rendered":"Eclipse + Weblogic = java.lang.OutOfMemoryError: PermGen space error"},"content":{"rendered":"<p>\u5728 eclipse \u628a application deploy \u5230 weblogic\uff0c \u57f7\u884c\u6642\u5e38\u767c\u751f PermGen space error\uff0c\u8a18\u61b6\u9ad4\u78ba\u5b9a\u662f\u8db3\u5920\u7684\uff0c\u4e00\u958b\u59cb\u662f\u53bb\u8abf eclipse.ini \u7684 -XX:MaxPermSize=??m \u4f46\u662f\u4e26\u6c92\u6709\u6539\u5584\u72c0\u6cc1\uff0c\u5f8c\u4f86\u60f3\u5230 eclipse \u53ea\u662f\u53bb\u555f\u52d5 weblogic \u7684 runtime \uff0c\u8abf eclipse \u7684\u53c3\u6578\u61c9\u8a72\u662f\u7121\u6cd5\u5f71\u97ff weblogic \u904b\u4f5c\u3002<\/p>\n<p>\u5f8c\u4f86\u5728\u7db2\u8def\u4e0a\u627e\u5230\u8abf weblogic \u53c3\u6578\u6587\u4ef6\uff0c\u4fee\u6539 &lt;domain&gt;\/bin\/setDomainEnv.cmd \u6a94\u6848\uff0c\u8abf\u6574\u4ee5\u4e0b2\u884c\u53c3\u6578\u5373\u6709\u660e\u986f\u6539\u5584<\/p>\n<p>set MEM_MAX_PERM_SIZE_64BIT=-XX:MaxPermSize=??m<\/p>\n<p>set MEM_MAX_PERM_SIZE_32BIT=-XX:MaxPermSize=??m<\/p>\n<p>[ratings]<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u5728 eclipse \u628a application deploy \u5230 weblogic\uff0c \u57f7\u884c\u6642\u5e38\u767c\u751f PermGen space error\uff0c\u8a18\u61b6\u9ad4\u78ba\u5b9a\u662f\u8db3\u5920\u7684\uff0c\u4e00\u958b\u59cb\u662f\u53bb\u8abf eclipse.ini \u7684 -XX:MaxPermSize=??m \u4f46\u662f\u4e26\u6c92\u6709\u6539\u5584\u72c0\u6cc1\uff0c\u5f8c\u4f86\u60f3\u5230 eclipse \u53ea\u662f\u53bb\u555f\u52d5 weblogic \u7684 runtime \uff0c\u8abf eclipse \u7684\u53c3\u6578\u61c9\u8a72\u662f\u7121\u6cd5\u5f71\u97ff weblogic \u904b\u4f5c\u3002 \u5f8c\u4f86\u5728\u7db2\u8def\u4e0a\u627e\u5230\u8abf weblogic \u53c3\u6578\u6587\u4ef6\uff0c\u4fee\u6539 &lt;domain&gt;\/bin\/setDomainEnv.cmd \u6a94\u6848\uff0c\u8abf\u6574\u4ee5\u4e0b2\u884c\u53c3\u6578\u5373\u6709\u660e\u986f\u6539\u5584 set MEM_MAX_PERM_SIZE_64BIT=-XX:MaxPermSize=??m set MEM_MAX_PERM_SIZE_32BIT=-XX:MaxPermSize=??m [ratings]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[48,116],"class_list":["post-901","post","type-post","status-publish","format-standard","hentry","category-uncategorized","tag-eclipse","tag-weblogic"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/blog.amjet.biz\/IT\/index.php?rest_route=\/wp\/v2\/posts\/901","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.amjet.biz\/IT\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.amjet.biz\/IT\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.amjet.biz\/IT\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.amjet.biz\/IT\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=901"}],"version-history":[{"count":2,"href":"https:\/\/blog.amjet.biz\/IT\/index.php?rest_route=\/wp\/v2\/posts\/901\/revisions"}],"predecessor-version":[{"id":903,"href":"https:\/\/blog.amjet.biz\/IT\/index.php?rest_route=\/wp\/v2\/posts\/901\/revisions\/903"}],"wp:attachment":[{"href":"https:\/\/blog.amjet.biz\/IT\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=901"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.amjet.biz\/IT\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=901"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.amjet.biz\/IT\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=901"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}