Previous PageNext Page

12.2 Environment Settings

There are a number of environment settings that can aid in debugging applications that make use of Chili!Beans and can improve overall Java performance. For Chili!Beans to use these values, follow these instructions:
 
  • On Unix systems, the environment settings must be set in the shell running caspd. The usual place to set them is in javasetup.sh which is sourced by the startup script, startcaspd.
  • On Windows NT, the environment settings must be set as Windows NT system variables.
  • Environment Variable Default Value Function
    CB_CHECKSOURCE
     
    0 (False)
     
    VM initialization checkSource argument
     
    CB_VERIFYMODE
     
    1 (True)
     
    VM initialization verifyMode argument
     
    CB_VERBOSE
     
    0 (False)
     
    VM initialization verbose argument
     
    CB_ENABLECLASSGC
     
    1 (True)
     
    VM initialization enableClassGC argument
     
    CB_ENABLEVERBOSEGC
     
    0 (False)
     
    VM initialization enableVerboseGC argument
     
    CB_DISABLEASYNCGC
     
    0 (False)
     
    VM initialization disableAsyncGC argument
     
    CB_NATIVESTACKSIZE
     
    0x20000
     
    VM initialization nativeStackSize argument
     
    CB_JAVASTACKSIZE
     
    0x64000
     
    VM initialization javaStackSize argument
     
    CB_MINHEAPSIZE
     
    0x400000
     
    VM initialization minHeapSize argument
     
    CB_MAXHEAPSIZE
     
    0x1000000
     
    VM initialization maxHeapSize argument
     
    CB_JVMPATH
     
    Unix: libjava.so
     
    NT: java.dll or jvm.dll
     
    Path to shared library containing JNI entry points. Directory must be on Unix library path or NT system path.
     
    CB_LOGPATH
     
    " "
     
    Full path to (writable) logfile. Logging takes place only if it is set. Do not set except for debugging purposes.
     
    CB_STACKTRACE
     
    0 (False)
     
    Determines whether full JVM stack trace is displayed as the textual part of every COM error message.
     
    CB_BOOST
     
    0 (False)
     
    All methods on each argument are synchronized unless set to 1.
     


    Copyright © 2000 Chili!Soft

Previous PageTop Of PageNext Page