Changeset 46 for trunk


Ignore:
Timestamp:
02/16/12 19:31:18 (13 years ago)
Author:
phdmakk
Message:

+ added initial support for automatic memory estimation

Location:
trunk/t3q
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/t3q/t3q

    r42 r46  
    4242fi 
    4343 
    44 JAVA_CMD="$JAVA -Xmx512m -Xss128m -cp $CLASSPATH org.etsi.t3q.T3Q" 
     44MT_CMD="$JAVA -Xmx512m -Xss128m -cp $CLASSPATH org.etsi.common.MemoryTest" 
     45 
     46JAVA_CMD="$JAVA -Xmx`$MT_CMD`m -Xss128m -cp $CLASSPATH org.etsi.t3q.T3Q" 
    4547 
    4648if [[ $# > 0 && $1 == "--echo" ]]; then 
  • trunk/t3q/t3q.bat

    r42 r46  
    4343) 
    4444 
    45 set JAVA_CMD=%JAVA% -Xmx512m -Xss128m -cp "%CLASSPATH%" org.etsi.t3q.T3Q  
     45set MT_CMD=%JAVA% -Xmx512m -Xss128m -cp "%CLASSPATH%" org.etsi.common.MemoryTest 
     46for /f %%i in (%MT_CMD%) do set HEAP=%%i 
     47 
     48set JAVA_CMD=%JAVA% -Xmx%HEAP%m -Xss128m -cp "%CLASSPATH%" org.etsi.t3q.T3Q  
    4649 
    4750if "%1" == "--echo" ( 
Note: See TracChangeset for help on using the changeset viewer.