I2P Address: [http://git.idk.i2p]

Skip to content
Snippets Groups Projects
Commit 8be86fe8 authored by kytv's avatar kytv
Browse files

debian: rework oom patch

parent 4dc90ef5
No related branches found
No related tags found
No related merge requests found
--- a/router/java/src/net/i2p/router/tasks/OOMListener.java --- a/router/java/src/net/i2p/router/tasks/OOMListener.java
+++ b/router/java/src/net/i2p/router/tasks/OOMListener.java +++ b/router/java/src/net/i2p/router/tasks/OOMListener.java
@@ -33,7 +33,7 @@ @@ -46,7 +46,7 @@
// gobble log.log(Log.CRIT, "free mem: " + Runtime.getRuntime().freeMemory() +
} " total mem: " + Runtime.getRuntime().totalMemory());
} if (_context.hasWrapper())
- log.log(Log.CRIT, "To prevent future shutdowns, increase wrapper.java.maxmemory in $I2P/wrapper.config"); - log.log(Log.CRIT, "To prevent future shutdowns, increase wrapper.java.maxmemory in $I2P/wrapper.config");
+ log.log(Log.CRIT, "To prevent future shutdowns, increase wrapper.java.maxmemory in /etc/i2p/wrapper.config"); + log.log(Log.CRIT, "To prevent future shutdowns, increase wrapper.java.maxmemory in /etc/i2p/wrapper.config");
_context.router().shutdown(Router.EXIT_OOM); } catch (OutOfMemoryError oome) {}
} try {
} ThreadDump.dump(_context, 1);
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment