{"id":1376,"date":"2023-03-19T10:42:38","date_gmt":"2023-03-19T02:42:38","guid":{"rendered":"https:\/\/www.appblog.cn\/?p=1376"},"modified":"2023-04-28T21:14:02","modified_gmt":"2023-04-28T13:14:02","slug":"modify-nexus-startup-memory","status":"publish","type":"post","link":"https:\/\/www.appblog.cn\/index.php\/2023\/03\/19\/modify-nexus-startup-memory\/","title":{"rendered":"\u4fee\u6539 Nexus \u542f\u52a8\u5185\u5b58"},"content":{"rendered":"<pre><code class=\"language-bash\">vim \/data\/www\/nexus\/bin\/nexus.vmoptions<\/code><\/pre>\n<pre><code class=\"language-bash\">-Xms512m\n-Xmx512m\n-XX:MaxDirectMemorySize=512m\n-XX:+UnlockDiagnosticVMOptions\n-XX:+LogVMOutput\n-XX:LogFile=..\/sonatype-work\/nexus3\/log\/jvm.log\n-XX:-OmitStackTraceInFastThrow\n-Djava.net.preferIPv4Stack=true\n-Dkaraf.home=.\n-Dkaraf.base=.\n-Dkaraf.etc=etc\/karaf\n-Djava.util.logging.config.file=etc\/karaf\/java.util.logging.properties\n-Dkaraf.data=..\/sonatype-work\/nexus3\n-Dkaraf.log=..\/sonatype-work\/nexus3\/log\n-Djava.io.tmpdir=..\/sonatype-work\/nexus3\/tmp\n-Dkaraf.startLocalConsole=false<\/code><\/pre>\n","protected":false},"excerpt":{"rendered":"<p>vim \/data\/www\/nexus\/bin\/nexus.vmoptions -Xms512m -Xmx51 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[341],"tags":[],"class_list":["post-1376","post","type-post","status-publish","format-standard","hentry","category-nexus"],"_links":{"self":[{"href":"https:\/\/www.appblog.cn\/index.php\/wp-json\/wp\/v2\/posts\/1376","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.appblog.cn\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.appblog.cn\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.appblog.cn\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.appblog.cn\/index.php\/wp-json\/wp\/v2\/comments?post=1376"}],"version-history":[{"count":0,"href":"https:\/\/www.appblog.cn\/index.php\/wp-json\/wp\/v2\/posts\/1376\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.appblog.cn\/index.php\/wp-json\/wp\/v2\/media?parent=1376"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.appblog.cn\/index.php\/wp-json\/wp\/v2\/categories?post=1376"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.appblog.cn\/index.php\/wp-json\/wp\/v2\/tags?post=1376"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}