Changeset 11529 for trunk/gli/gli.sh


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.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • 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.