Changeset 11331


Ignore:
Timestamp:
2006-03-13T10:29:37+13:00 (16 years ago)
Author:
mdewsnip
Message:

Set the maximum memory usage to 128MB (default is 64MB) -- helps to prevent OutOfMemory exceptions when uploading large files.

Location:
trunk/gli
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/gli/client-gli.bat

    r10759 r11331  
    151151:: -Xloggc:<file>   Write garbage collection log
    152152
    153 "%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 -use_remote_greenstone %1 %2 %3 %4 %5 %6 %7 %8 %9
     153"%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 -use_remote_greenstone %1 %2 %3 %4 %5 %6 %7 %8 %9
    154154
    155155if "%GLILANG%" == "en" echo Done!
  • trunk/gli/client-gli.sh

    r10759 r11331  
    162162# -Xloggc:<file>   Write garbage collection log
    163163
    164 $javapath -classpath classes/:GLI.jar:lib/apache.jar:lib/qfslib.jar:lib/mail.jar:lib/activation.jar org.greenstone.gatherer.GathererProg -use_remote_greenstone $*
     164$javapath -Xmx128M -classpath classes/:GLI.jar:lib/apache.jar:lib/qfslib.jar:lib/mail.jar:lib/activation.jar org.greenstone.gatherer.GathererProg -use_remote_greenstone $*
    165165
    166166if [ "$glilang" == "es" ]; then
Note: See TracChangeset for help on using the changeset viewer.