source: debian/patches/0004-oom-listener.patch @ 0f62383

Last change on this file since 0f62383 was 0f62383, checked in by kytv <kytv@…>, 9 years ago

Reference /etc/i2p/wrapper.config when OOM when using Debian packages

When I2P terminates with an OOM error, users are advised to update
$I2P/wrapper.config. That path isn't accurate for the Debian packages.

  • Property mode set to 100644
File size: 490 bytes
  • router/java/src/net/i2p/router/tasks/OOMListener.java

    a b  
    3333                // gobble
    3434            }
    3535        }
    36         log.log(Log.CRIT, "To prevent future shutdowns, increase wrapper.java.maxmemory in $I2P/wrapper.config");
     36        log.log(Log.CRIT, "To prevent future shutdowns, increase wrapper.java.maxmemory in /etc/i2p/wrapper.config");
    3737        _context.router().shutdown(Router.EXIT_OOM);
    3838    }
    3939}
Note: See TracBrowser for help on using the repository browser.