Wednesday, 2 January 2013

                             How to set JVM Heap Memory
------------------------------------------------------------------------------------

1) After Installing the weblogic10 then search the file setDomainEnv.sh in weblogic installation folder

2) open in notepad or editplus

3)WLS_MEM_ARGS_64BIT="-Xms256m -Xmx512m"
    export WLS_MEM_ARGS_64BIT
    WLS_MEM_ARGS_32BIT="-Xms256m -Xmx512m"
    export WLS_MEM_ARGS_32BIT


  -Xms256m(is intila size of heap)

  -Xmx512m(is max size of heap)

update these values as per requirement


We can also set perm size of heap meory

MEM_PERM_SIZE_64BIT="-XX:PermSize=128m"
export MEM_PERM_SIZE_64BIT

MEM_PERM_SIZE_32BIT="-XX:PermSize=48m"
export MEM_PERM_SIZE_32BIT
                          

No comments:

Post a Comment