1 Reply Latest reply on Apr 30, 2009 2:18 AM by jaikiran pai

    Purpose of IF statement in run.conf

    Jeremy Levy Newbie

      The following statement is in run.conf

      # Specify options to pass to the Java VM.
      if [ "x$JAVA_OPTS" = "x" ]; then
       JAVA_OPTS="-Xms128m -Xmx512m -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000"

      Can someone tell me what is the purpose of the if statement? I assume it's trying to detect if people are passing in via the command line memory settings and therefore not use the ones configured...

      Is there any other purpose?