Changeset 8be86fe for debian


Ignore:
Timestamp:
Oct 2, 2012 7:26:04 PM (8 years ago)
Author:
kytv <kytv@…>
Branches:
master
Children:
a1873e7
Parents:
4dc90ef5
Message:

debian: rework oom patch

File:
1 edited

Legend:

Unmodified
Added
Removed
  • debian/patches/0004-oom-listener.patch

    r4dc90ef5 r8be86fe  
    11--- a/router/java/src/net/i2p/router/tasks/OOMListener.java
    22+++ b/router/java/src/net/i2p/router/tasks/OOMListener.java
    3 @@ -33,7 +33,7 @@
    4                  // gobble
    5              }
    6          }
    7 -        log.log(Log.CRIT, "To prevent future shutdowns, increase wrapper.java.maxmemory in $I2P/wrapper.config");
    8 +        log.log(Log.CRIT, "To prevent future shutdowns, increase wrapper.java.maxmemory in /etc/i2p/wrapper.config");
    9          _context.router().shutdown(Router.EXIT_OOM);
    10      }
    11  }
     3@@ -46,7 +46,7 @@
     4             log.log(Log.CRIT, "free mem: " + Runtime.getRuntime().freeMemory() +
     5                               " total mem: " + Runtime.getRuntime().totalMemory());
     6             if (_context.hasWrapper())
     7-                log.log(Log.CRIT, "To prevent future shutdowns, increase wrapper.java.maxmemory in $I2P/wrapper.config");
     8+                log.log(Log.CRIT, "To prevent future shutdowns, increase wrapper.java.maxmemory in /etc/i2p/wrapper.config");
     9         } catch (OutOfMemoryError oome) {}
     10         try {
     11             ThreadDump.dump(_context, 1);
Note: See TracChangeset for help on using the changeset viewer.