Question : weblogic : memory out of error

Hi,
  I am using weblogic 9.2 sp2 in solaris 10, i am trying to deploy a war using admin console, i am getting a error, " java.lang.outofMemoryError "

Following actions were taken
1. increased  folowing param values in setDomainEnv.sh file
maxPermSize and MEM_ARG.

But all went in vain and the error remains as it is.
Can anyone provide me anyother solution to rectify this problem.
also,
       1. how can we set the limit for maxPermSize and MEM_ARG param? and what is the maximum value i can set for that?
       2. Does it relates to my system RAM? if so my system ram size is 16 GB, and what can be the max and min limit for those 2 parameters?
Code Snippet:
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
14:
    (ZipFile.java:203)
        at java.util.jar.JarFile.(JarFile.java:132)
        at java.util.jar.JarFile.(JarFile.java:97)
        at weblogic.utils.jars.JarFileDelegate.(JarFileDelegate.java:32)
        Truncated. see log file for complete stacktrace

Answer : weblogic : memory out of error

Why is the perm size set to so high value?.

can you try these values?

MEM_ARGS=" -XX:MaxPermSize=128m -Xms1024m -Xmx1536m"

also ensure to search for PROD_MODE in setDomainEnv.sh and set it to

PROD_MODE=true.

Save it and run it again.
Random Solutions  
 
programming4us programming4us