Ignore:
Timestamp:
Nov 8, 2016 3:42:22 PM (4 years ago)
Author:
zzz <zzz@…>
Branches:
master
Children:
e5bcfe4
Parents:
b559b41
Message:

Router: Fix low-memory log messages for non-wrapper (ticket #1795)
Install: Add max memory option to runplain.sh
Build: Fix minimum Java version for Windows

File:
1 edited

Legend:

Unmodified
Added
Removed
  • installer/resources/runplain.sh

    rb559b41 re614b099  
    44# This means the router will not restart if it crashes.
    55# Also, you will be using the default memory size, which is
    6 # probably not enough for i2p.
     6# probably not enough for i2p, unless you set it below.
    77# You should really use the i2prouter script instead.
    88#
     
    1919PREFERv4="false"
    2020CP=
     21
     22# Uncomment to set the maximum memory. The default and the option may vary in different JVMs.
     23# Check your java documentation to be sure.
     24#MAXMEMOPT="-Xmx256m"
    2125
    2226# Try using the Java binary that I2P was installed with.
     
    4044    export JAVA_TOOL_OPTIONS="-Djava.awt.headless=true"
    4145fi
    42 JAVAOPTS="-Djava.net.preferIPv4Stack=${PREFERv4} -Djava.library.path=${I2P}:${I2P}/lib -Di2p.dir.base=${I2P} -DloggerFilenameOverride=logs/log-router-@.txt"
     46JAVAOPTS="${MAXMEMOPT} -Djava.net.preferIPv4Stack=${PREFERv4} -Djava.library.path=${I2P}:${I2P}/lib -Di2p.dir.base=${I2P} -DloggerFilenameOverride=logs/log-router-@.txt"
    4347(
    4448    nohup ${JAVA} -cp \"${CP}\" ${JAVAOPTS} net.i2p.router.RouterLaunch > /dev/null 2>&1
Note: See TracChangeset for help on using the changeset viewer.