Changeset 11529 for trunk


Ignore:
Timestamp:
2006-03-29T11:38:55+12:00 (18 years ago)
Author:
mdewsnip
Message:

Set "-Xmx128M" so Java has less chance of running out of memory with big collections. Also removed the unused "-test" stuff from gli.sh.

Location:
trunk/gli
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/gli/gli.bat

    r10787 r11529  
    266266
    267267if exist "%GSDLHOME%\server.exe" goto localLib
    268     "%JAVAPATH%\java" -cp classes/;GLI.jar;lib/apache.jar;lib/jp.jar;lib/qfslib.jar;lib/mail.jar;lib/activation.jar org.greenstone.gatherer.GathererProg -gsdl %GSDLHOME% -perl %PERLPATH% -wget %WGETPATH% %1 %2 %3 %4 %5 %6 %7 %8 %9
     268    "%JAVAPATH%\java" -Xmx128M -cp classes/;GLI.jar;lib/apache.jar;lib/jp.jar;lib/qfslib.jar;lib/mail.jar;lib/activation.jar org.greenstone.gatherer.GathererProg -gsdl %GSDLHOME% -perl %PERLPATH% -wget %WGETPATH% %1 %2 %3 %4 %5 %6 %7 %8 %9
    269269
    270270    if "%GLILANG%" == "en" echo Done!
     
    275275
    276276:localLib
    277     "%JAVAPATH%\java" -cp classes/;GLI.jar;lib/apache.jar;lib/jp.jar;lib/qfslib.jar;lib/mail.jar;lib/activation.jar org.greenstone.gatherer.GathererProg -gsdl %GSDLHOME% -perl %PERLPATH% -local_library %GSDLHOME%\server.exe -wget %WGETPATH% %1 %2 %3 %4 %5 %6 %7 %8 %9
     277    "%JAVAPATH%\java" -Xmx128M -cp classes/;GLI.jar;lib/apache.jar;lib/jp.jar;lib/qfslib.jar;lib/mail.jar;lib/activation.jar org.greenstone.gatherer.GathererProg -gsdl %GSDLHOME% -perl %PERLPATH% -local_library %GSDLHOME%\server.exe -wget %WGETPATH% %1 %2 %3 %4 %5 %6 %7 %8 %9
    278278
    279279    if "%GLILANG%" == "en" echo Done!
  • trunk/gli/gli.sh

    r10687 r11529  
    241241    fi
    242242    exit 1
    243 fi
    244 
    245 if [ "$1" == "-test" ]; then
    246     if [ "$glilang" == "es" ]; then
    247     echo "Clase de prueba: $2"
    248     echo "Argumentos $*"
    249     elif [ "$glilang" == "fr" ]; then
    250     echo "Classe de test: $2"
    251     echo "Arguments $*"
    252     elif [ "$glilang" == "ru" ]; then
    253     echo "éÓÐÙÔÁÔÅÌØÎÙÊ ËÌÁÓÓ: $2"
    254     echo "ðÁÒÁÍÅÔÒÙ $*"
    255     else
    256     echo "Testing class: $2"
    257     echo "Arguments $*"
    258     fi
    259     $javapath -classpath classes/:GLI.jar:lib/apache.jar:lib/qfslib.jar:lib/mail.jar:lib/activation.jar $2 $3
    260     exit 0
    261243fi
    262244
     
    281263# -Xloggc:<file>   Write garbage collection log
    282264
    283 $javapath -classpath classes/:GLI.jar:lib/apache.jar:lib/qfslib.jar:lib/mail.jar:lib/activation.jar org.greenstone.gatherer.GathererProg -gsdl $GSDLHOME -wget $wgetpath $*
     265$javapath -Xmx128M -classpath classes/:GLI.jar:lib/apache.jar:lib/qfslib.jar:lib/mail.jar:lib/activation.jar org.greenstone.gatherer.GathererProg -gsdl $GSDLHOME -wget $wgetpath $*
    284266
    285267if [ "$glilang" == "es" ]; then
Note: See TracChangeset for help on using the changeset viewer.