zoukankan      html  css  js  c++  java
  • weblogic 内存配置

    修改weblogic 使用内存

    修改位置:startWeblogic.sh

    在最开头增加使用内存配置信息如下:

    我的服务器配置 内存:32G   ,CPU:16  根据实际情况配置

    #!/bin/sh
     
    # WARNING: This file is created by the Configuration Wizard.
    # Any changes to this script may be lost when adding extensions to this configuration.
     
    # --- Start Functions ---
     export USER_MEM_ARGS="-Xms4096m -Xmx4096m -Xmn2048m -XX:PermSize=1024m -XX:MaxPermSize=1024m"
    stopAll()
    {
        # We separate the stop commands into a function so we are able to use the trap command in Unix (calling a function) to stop these services
        # STOP DEBUGGER (only if we started it)
        if [ "${specialFlag}" = "false" ] ; then
            if [ "${debugFlag}" = "true" ] ; then
                echo "Stopping the Weblogic Workshop debugger..."
                ${JAVA_HOME}/bin/java -classpath ${DEBUG_CLASSPATH} ${DBG_JAVA_OPTIONS} weblogic.debugging.engine.DbgMain -shutdown  > "${DOMAIN_HOME}/debuggerShutdown.log" 2>&1 
                echo "Debugger Stopped."
            fi
        fi
        # STOP POINTBASE (only if we started it)
        if [ "${pointbaseFlag}" = "true" ] ; then
            echo "Stopping Pointbase server..."
            ${WL_HOME}/common/bin/stopPointBase.sh -port=9093 -name=workshop  > "${DOMAIN_HOME}/pointbaseShutdown.log" 2>&1 
     
            echo "Pointbase server stopped."
        fi
    }
  • 相关阅读:
    Java内存模型之重排序
    JAVA虚拟机:对象的创建过程
    单链表——基本操作
    new File()
    JVM回收方法区内存
    强软弱虚---强引用、软引用、弱引用、虚引用
    线性表(二)——链式存储
    JVM中判断对象是否存活的方法
    GC算法 垃圾收集器
    线性表(一)——顺序结构
  • 原文地址:https://www.cnblogs.com/xiaojianblogs/p/7477507.html
Copyright © 2011-2022 走看看