diff --git a/apps/routerconsole/java/src/net/i2p/router/web/ConfigServiceHandler.java b/apps/routerconsole/java/src/net/i2p/router/web/ConfigServiceHandler.java index 6b79c4061..3419ba214 100644 --- a/apps/routerconsole/java/src/net/i2p/router/web/ConfigServiceHandler.java +++ b/apps/routerconsole/java/src/net/i2p/router/web/ConfigServiceHandler.java @@ -218,6 +218,9 @@ public class ConfigServiceHandler extends FormHandler { } else if (_("Do not view console on startup").equals(_action)) { browseOnStartup(false); addFormNotice(_("Console is not to be shown on startup")); + } else if (_("Force GC").equals(_action)) { + Runtime.getRuntime().gc(); + addFormNotice(_("Full garbage collection requested")); } else { //addFormNotice("Blah blah blah. whatever. I'm not going to " + _action); } diff --git a/apps/routerconsole/jsp/configservice.jsp b/apps/routerconsole/jsp/configservice.jsp index 628010685..303fa4d31 100644 --- a/apps/routerconsole/jsp/configservice.jsp +++ b/apps/routerconsole/jsp/configservice.jsp @@ -62,17 +62,21 @@
<%=intl._("View the job queue")%> - <% if (System.getProperty("wrapper.version") != null) { %> +<% if (System.getProperty("wrapper.version") != null) { %>
<%=intl._("At times, it may be helpful to debug I2P by getting a thread dump. To do so, please select the following option and review the thread dumped to wrapper.log.")%>
-<%=intl._("I2P's main configuration interface is this web console, so for your convenience I2P can launch a web browser on startup pointing at")%> http://127.0.0.1:7657/ .