0 Replies Latest reply: May 16, 2012 3:51 AM by 937638 RSS

    issue while server startup

    937638
      Hi All,
      we are trying to start the server with following setting

      USER_MEM_ARGS="-Xmx2048m -Xms1024m -XX:PermSize=512m -XX:MaxPermSize=512m -XX:NewSize=512m -XX:MaxNewSize=512m -XX:+HeapDumpOnCtrlBreak -XX:+HeapDumpOnOutOfMemoryError -Dweblogic.threadpool.MinPoolSize=25 -Xss256k \
      -XX:SurvivorRatio=8 -Dweblogic.threadpool.MaxPoolSize=25 -XX:+AggressiveHeap -XX:+UseParallelGC \
      -XX:ParallelGCThreads=4 -Dsun.rmi.dgcserver.gcInterval=3600000 -Dsun.rmi.dgc.client.gcInterval=3600000 \
      -Dweblogic.ProductionModeEnabled=true"

      and getting following exception

      weblogic.management.DeploymentException:
      at weblogic.application.internal.BaseDeployment.throwAppException(BaseDeployment.java:86)
      at weblogic.application.internal.BaseDeployment.prepare(BaseDeployment.java:193)
      at weblogic.application.internal.DeploymentStateChecker.prepare(DeploymentStateChecker.java:147)
      at weblogic.deploy.internal.targetserver.AppContainerInvoker.prepare(AppContainerInvoker.java:61)
      at weblogic.deploy.internal.targetserver.AppDeployment.prepare(AppDeployment.java:137)
      Truncated. see log file for complete stacktrace
      java.lang.OutOfMemoryError
      at java.util.zip.ZipFile.open(Native Method)
      at java.util.zip.ZipFile.<init>(ZipFile.java:203)
      at java.util.zip.ZipFile.<init>(ZipFile.java:234)
      at weblogic.utils.classloaders.ZipClassFinder.<init>(ZipClassFinder.java:23)
      at weblogic.utils.classloaders.JarClassFinder.<init>(JarClassFinder.java:35)
      Truncated. see log file for complete stacktrace


      when we are changing the settings to

      USER_MEM_ARGS="-Xmx1024m -Xms1024m -XX:PermSize=256m -XX:MaxPermSize=256m -XX:NewSize=512m -XX:MaxNewSize=512m -XX:+HeapDumpOnCtrlBreak -XX:+HeapDumpOnOutOfMemoryError -Dweblogic.threadpool.MinPoolSize=25 -Xss256k \
      -XX:SurvivorRatio=8 -Dweblogic.threadpool.MaxPoolSize=25 -XX:+AggressiveHeap -XX:+UseParallelGC \
      -XX:ParallelGCThreads=4 -Dsun.rmi.dgcserver.gcInterval=3600000 -Dsun.rmi.dgc.client.gcInterval=3600000 \
      -Dweblogic.ProductionModeEnabled=true"

      no error is coming .

      we have a big jar of size ~133mb.

      please let me know what is the issue when i am trying to modify the -Xmx to 2048m
      the free memory on our machine is more then 6 GB.
      we are trying to run the application in unix environment.

      regards
      Amitosh