Solaris/SAP Memory Analysis/Audit

Experts,
We have a landscape that is only a couple of years old, but seeing some paging and buffer issues.  We are running in a solaris/Oracle environment, and I was wanting to do some memory analysis, or a memory audit to make sure that we had everything configured correctly. 
Memory is not really my stong suit, so if any of you have some handy resources that you dont mind sharing, I would like to  research and better understand. 
Our Prod Landscape is this:
Sun e2900 (#1) 8cpu (multicore) 64g
Global Zone - Ecc 600 ASCS /Oracle 10.2 Cluster (Slave)
Local zone - BI 7 CI+DB
Local Zone - XI 7 CI+DB
Sun e2900 (#2) 8cpu (multicore) 64g
Global Zone - Ecc 600 ASCS /Oracle 10.2 Cluster (Master)
Local zone - ECC CI
Qty 3 - Sun V490 (#1, #2, #3) 4cpu (Multicore) 16g
Global Zone - OS only
Local zone - ECC APP
Local zone - BI APP
Local zone - XI APP
I have the performance tuning book, and have been studying up on buffers and parameters.  But first mainly looking to research how memory is assigned, where, and determine if any changes need to be made, or there is memory room to increase buffers.
Thank you.
Phillip

Apologies.  I was struggling with how exactly to articulate the question.  And even more with how to go about determining where we are with our memory both inside and outside of SAP.  With Solaris you have Zones (containers), projects, oracle, sap, user environment settings, etc.  All of which have an impact on memory, either from consumption, or limitation of memory (projects and user environment settings.) 
I have looked at ST02, and we do see swaps of greater that 10k, however, before increasing the buffers, I'm trying to determine what memory we have available, and where the current memory is being used.
Our response times are not absurd.  We hover around 800 - 1000 ms.  Our CPU is average less than 15% util.  But I think there is room for improvement/tuning on our memory and buffers, because performance does degrade over a period of weeks without an app restart.
Thank you for your response, and the help link.  I am reviewing it now.
Best Regards,
Phil May
Edited by: Phil May on Sep 11, 2009 9:52 AM

Similar Messages

  • How to use SAP Memory analyser in CE7.1 EHP1

    Hi All,
    Please Can you provide proper link to know how to use SAP Memory analyser in CE7.1 EHP1.
    It is urgent .
    Regards
    Mahesh

    Problem solved.

  • SAP Memory Analyzer for 64-bit

    where can i get the new SAP Memory Analyzer (JAVA) for windows 64bit  installations ?
    i just found it for 32 -bit , and this can not be installed on windows 64bit maschines .
    thank you
    hannes toefferl

    Hi Hannes,
    Sorry, I fixed the error on the Wiki page. Currently we can only offer the download of the 32 bit Windows version. We are however discussing to put the current version out as plugins ZIP and hopefully on an update server, as well.
    For now, please have a look at our Wiki which describes how to create your own installation based on the plugins stored in the installer:
    Excerpt from the Wiki ---
    However, since we are based on Eclipse 3.2.0 you can try this: Download Eclipse 3.2.0 for your platform, copy our plug-ins (can be found in the installer -> Resource1.ZIP -> MemoryAnalyzer.zip -> plugins) into the plugins folder of your Eclipse installation and open the Memory Analysis perspective. On Windows 64 bit and Linux 64 bit (x86_64/GTK 2) this proved to work. Don't forget to give your Eclipse installation plenty of Java heap - the more, the faster.
    Kind regards,
    Vedran

  • How to use memory analyser in CE 7.1 portal

    Hi,
    I want to use Memory Analyser in my landscape, i have installaed CE7.1 on oracle DB( remote DB) on my VM.I have downloaded the memory analyzer from the eclipse site and i have the memory analyser.exe file with me. How can i use this one to use in my server case. Currently i have installaed SAP JVM_5, and how can i get the heap dump from my SAP JVM and how can i import those hepa dumps in to my memory analyzer on the virtual machine.
    Regards,
    Pradeep J

    Hi,
    there are varios ways to get a heap dump. Have a look at this page:
    http://wiki.sdn.sap.com/wiki/pages/viewpage.action?pageId=33456
    If you want to trigger a heap dump on your own, ust the jvmmon tool from the SAP JVM.
    Then you need to copy the heap dump to a place where Memory Analyzer can open it. In Memory Analyzer just ust the File -> Open Heap Dump menu.
    Does this help?
    Regards,
    Krum

  • Memory Analysis in NetWeaver Developer Studio

    Hi,
    I am trying to do a memory analysis on NW/DS with SAP memory analyzer.
    I have configured a remote J2EE server and put
    -XX:+HeapDumpOnOutOfMemoryError
    as VM argument in my IDE.
    I am not sure that this works.
    I also don't know how to configure the path of the HPROF file and where to do this.
    Could I know how to do this?
    Could I get any help on whether this setup would work? And how do I get a heap dump?
    Regards
    Indranil Saha

    Hi
    Go through these links
    /people/markus.kohler/blog/2007/05/02/sap-memory-analyzer-has-been-released
    Business Intelligence Performance Tuning
    /people/bertram.ganz/blog/2007/05/04/running-web-dynpro-java-applications-in-sap-netweaver-ce-trial-version
    http://search.techrepublic.com.com/search/CompuwareCorp.andSAPAG.html
    Reward me .. & u also can get points

  • SAP Memory, Set and Get parameter

    Hi All,
         I am running two programs in background from program1
    Eq: Program1 --> Calls 2 programs
                              Program1_01.(First Program)
                              Program2_01(Second Program).
    Programs1 schedules Program1_01 and Program1_02 in background. These two programs are interdependent.
    Program1_01 extracts data, evaluates and sets the Flag. This Flag is exported to SAP Memory using
    Set parameter id 'p_id_flag' field Flag.
    Program1_02 checks for Program1_01 is completed in background. If complted gets the Flag value from SAP Memory using "Get paramter id 'p_id_flag' field Flag.
    When i checked this is not happning. When saw Flag in Program1_01 is set as Flag = 'X'.
    When I came and checked in Program1_02 after Get Parameter statement Falg value is SPACE.
    Cn hlp on this?

    Hi,
    The problem simply lies in fact that pid was provided in lowercase.
    Use:
    SET PARAMETER ID 'P_ID_FLAG' FIELD flag.
    GET PARAMETER ID 'P_ID_FLAG' FIELD flag.
    It works fine then.
    Note!
    Though SAP claims it is mandatory to create pid in TPARA table, in fact this is not required. Each time SET PARAMETER is executed, system checks if data object P_ID_FLAG was defined in SAP memory. If not it will automatically create it for us. But be carefull here. If there is such data object, its value will be overwritten.
    As for your last question, your statement (FREE MEMORY ....) is ok.
    Regards
    Marcin
    Edited by: Marcin Pciak on Jan 22, 2009 1:14 PM

  • SAP Memory types?

    Hi gurus,
             Anybody pls send me Brief notes about SAP memory areas as Roll area, Paging area , extended memory and Heapmemory.anybody pls send me brief details about these memory areas.in ST02
    Regards,
    Balaram

    Hi Balaram,
    Please refer http://help.sap.com/saphelp_bw30b/helpdata/en/7a/caa6f3bfdb11d188b30000e83539c3/frameset.htm for the details,its the best documentation for the same.
    Regards,
    Sam

  • Reg: If changes done in SAP BO Analysis office, then Changes can be done in SAP BW in respective targets. But, is it possible to do the same changes in SAP ECC? How?

    Hello Everyone,
    If any changes are done in SAP BO Analysis office, then the change can be done in the SAP BW in the respective Targets.
    But how can we do the changes in the SAP ECC ? Is it possible to do the changes in the tables ?
    Any answer is appreciable
    Regards,
    Karteek

    We are using the "Input ready Bex query", in order to modify the values in "BO Analysis office".
    ECC               BI               BO Analysis office
    1  ------------->   1   ---------->         1   ------
                                                                            |
                                                                            | (Now Data is changed in Analysis office from 1 to 2)
                                                                            |
    (?) <--------------   2 <----------         2 <-----
    (Will it be updated in ECC)
    (Diagram Explanation)
    From ECC we can load the data (Consider Value-1) to SAP BI and from SAP BI we can load the data to BO analysis office.
    So, now if we change the data in BO Analysis office (Value-1 changed to Value-2)..
    Now the data is changed in SAP BI to Value-2.
    So what about the data in ECC ? Whether it is changed or not?
    Please provide us a real time business Scenario..
    Thanks,
    Karteek

  • How to remove a grobal parameter in SAP memory

    As known to all, we can use SET/GET PARAMETER to pass parameters among multiple programs.
    Now I'm just curious about how to remove a grobal parameter in SAP memory, and how can I get the list of all grobal parameter in SAP memory.
    Any idea?

    Hi william,
    1. how to remove a grobal parameter in SAP memory
      Well, i dont think we can REMOVE.
       At most, we can RESET it to blank(initial)
    2. set parameter  id 'BUKRS' FIELD ''.
    regards,
    amit m.

  • Memory Analysis for a program

    Hi All,
    In production sometimes a data load fails because of the less ABAP memory available.
    For a perticular load ABAP memory goes till 4 Gb and more and after that load fails with short dump.
    This time i change a start routine logic  and split a complex start routine logic in two programs.
    Now i want to check about what memory my new programs are taking.
    1. One of the programs is in start routine itself .
    2. Second program is SE38 program.
    How I can see the memry consumption while data load.
    thanks
    Mukesh

    HI
    SAP memory is for cross-transaction Applications and ABAP/4 memory is transaction-specific. So you can use SQL Trace to see the back ground process tables and details for the same Transaction.
    The SAP memory, otherwise known as the global memory, is available to a user during the entire duration of a terminal session. Its contents are retained across transaction boundaries as well as external and internal sessions. The contents of the ABAP/4 memory are retained only during the lifetime of an external session. You can retain or pass data across internal sessions.
    The SET PARAMETER and GET PARAMETER statements allow you to write to, or read from, the SAP memory. The EXPORT TO MEMORY and IMPORT FROM MEMORY statements allow you to write data to, or read data from, the ABAP memory.
    ABAP memory is a memory area that all ABAP programs within the same internal session can access using the EXPORT and IMPORT statements. Data within this area remains intact during a whole sequence of program calls. To pass data to a program which you are calling, the data needs to be placed in ABAP memory before the call is made. The internal session of the called program then replaces that of the calling program. The program called can then read from the ABAP memory.
    Put function group memory in ABAP-MEMORY-- BAL_GLB_MEMORY_IMPORT Get function group memory from ABAP
    Hope it helps

  • SAP HANA Input parameters in SAP BO Analysis

    Hi, dear experts.
    Please help me with one problem in SAP BO Analysis. Problem is: in sap hana studio i made calculation view that has some input parameters (Param. type - Direct, Sematic Type - Date, Data type - Date). Then i made filter with this parameters in one of projection of my calculation view. When i push data preview in Hana Studio all input parameters are ready to input and they also have "Value help dialog". All is great! SAP HANA Studio version is 1.0.7000 (Build id: 386119). HANA DB version is 1.00.70.00.386119.
    On workstation i installed SAP BO Analysis edition for Microsoft Office 32-bit and driver for SAP HANA 70 Client Win32, made ODBC connection to HANA server. From SAP BO Analysis I found my view and started it. I see my input parameters, and see "value help dialog", but i can't choose value: it's not available for input. Here is the problem: what i have to do to enter the parameters?
    I also try to use variable but value help dialog is empty. Please help me with this issue.
    Message was edited by: Tom Flanagan

    Hello Andrei,
    Tested on:
    HANA Rev 70
    Have tested for variables and the value help is coming.
    Regards,
    Krishna Tangudu

  • SAP Memory

    hi all,
    Please tell me the code for passing a particular flag value to a SAP memory . Then calling the memory at any other location and freeing the memory thereafter.
    Also please let me know the code for disabling/enabling  a particular screen field .
    Thanks ,
    Paul

    To fill the input fields of a called transaction with data from the calling program, you can use the SPA/GPA technique. SPA/GPA parameters are values that the system stores in the global, user-specific SAP memory. SAP memory allows you to pass values between programs. A user can access the values stored in the SAP memory during one terminal session for all parallel sessions. Each SPA/GPA parameter is identified by a 20-character code. You can maintain them in the Repository Browser in the ABAP Workbench. The values in SPA/GPA parameters are user-specific.
    <b>SPA/GPA Parameters as Default Values</b>
    The SPA/GPA Parameter Technique is a general procedure for filling the initial screen when a program is called. To use this technique for parameters on selection screens, you must link the parameter to an SPA/GPA parameter from the SAP memory as follows:
    PARAMETERS <p> ...... MEMORY ID <pid>......
    If you use this addition, the current value of SPA/GPA parameter <pid> from the global user-related SAP memory is assigned to parameter <p> as a default value. Description <pid> can contain a maximum of twenty characters and must not be enclosed in quotation marks.
    REPORT DEMO.
    <b>PARAMETERS TEST(16) MEMORY ID RID.</b>
    ABAP programs can access the parameters using the SET PARAMETER and GET PARAMETER statements.
    To fill one, use:
    <b>SET PARAMETER ID <pid> FIELD <f>.</b>
    This statement saves the contents of field <f> under the ID <pid> in the SAP memory. The code <pid> can be up to 20 characters long. If there was already a value stored under <pid>, this statement overwrites it. If the ID <pid> does not exist, double-click <pid> in the ABAP Editor to create a new parameter object.
    To read an SPA/GPA parameter, use:
    <b>GET PARAMETER ID <pid> FIELD <f>.</b>
    <b>Passing Data Between Programs</b>
    There are two ways of passing data to a called program:
    Passing Data Using Internal Memory Areas
    There are two cross-program memory areas to which ABAP programs have access (refer to the diagram in Memory Structures of an ABAP Program) that you can use to pass data between programs.
    <b>SAP Memory</b>
    SAP memory is a memory area to which all main sessions within a SAPgui have access. You can use SAP memory either to pass data from one program to another within a session, or to pass data from one session to another. Application programs that use SAP memory must do so using SPA/GPA parameters (also known as SET/GET parameters). These parameters can be set either for a particular user or for a particular program using the SET PARAMETER statement. Other ABAP programs can then retrieve the set parameters using the GET PARAMETER statement. The most frequent use of SPA/GPA parameters is to fill input fields on screens (see below).
    <b>ABAP Memory</b>
    ABAP memory is a memory area that all ABAP programs within the same internal session can access using the EXPORT and IMPORT statements. Data within this area remains intact during a whole sequence of program calls. To pass data to a program which you are calling, the data needs to be placed in ABAP memory before the call is made. The internal session of the called program then replaces that of the calling program. The program called can then read from the ABAP memory. If control is then returned to the program which made the initial call, the same process operates in reverse. For further information, refer to Data Clusters in ABAP Memory.
    Filling Input Fields on an Initial Screen
    Most programs that you call from other programs have their own initial screen that the user must fill with values. For an executable program, this is normally the selection screen. The SUBMIT statement has a series of additions that you can use to fill the input fields of the called program:
    Filling the Selection Screen of a Called Program
    You cannot fill the input fields of a screen using additions in the calling statement. Instead, you can use SPA/GPA parameters. For further information, refer to Filling an Initial Screen Using SPA/GPA Parameters.
    regards
    vinod

  • SAP Memory Analyzer

    Hi experts. I've here the Enterprise Portal installed in HP-UX and I'd like to use the SAP Memory Analyzer see some problems. I can use it? How I configure it in my desktop? Thanks for your help.

    > Hi experts. I've here the Enterprise Portal installed
    > in HP-UX and I'd like to use the SAP Memory Analyzer
    > see some problems. I can use it? How I configure it
    > in my desktop? Thanks for your help.
    Hi,
    You can find documentation on the wiki :
    https://www.sdn.sap.com/irj/sdn/wiki?path=/display/java/javaMemoryAnalysis&
    There's a link on this page
    (https://www.sdn.sap.com/irj/sdn/wiki?path=/pages/viewpage.action&pageid=33456)
    that explains how to do a heap dump.
    Regards,
    Markus (/people/markus.kohler/blog)

  • Examples for SAP Memory and ABAP Memory

    Hi all,
        can u give me one example of sap memory and abap memory.
                                              Ranjith

    Hi,
    <b>SAP Memory</b>
    SAP memory is a memory area to which all main sessions within a SAPgui have access. You can use SAP memory either to pass data from one program to another within a session, or to pass data from one session to another. Application programs that use SAP memory must do so using SPA/GPA parameters (also known as SET/GET parameters). These parameters can be set either for a particular user or for a particular program at the time of logon using the SET PARAMETER statement. Other ABAP programs can then retrieve the set parameters using the GET PARAMETER statement. The most frequent use of SPA/GPA parameters is to fill input fields on screens .
    <b>example:</b>
    ABAP programs can access the parameters using the SET PARAMETER and GET PARAMETERstatements.
    To fill one, use:
    SET PARAMETER ID pid FIELD f
    This statement saves the contents of field f under the ID pid in the SAP memory. The ID pid can be up to 20 characters long. If there was already a value stored under pid, this statement overwrites it. If you double-click pid in the ABAP Editor, parameters that do not exist can be created as a Repository object.
    To read an SPA/GPA parameter, use:
    GET PARAMETER ID pid FIELD f.
    This statement places the value stored under the pid ID into the variable f. If the system does not find any value for pid in the SAP memory, sy-subrc is set to 4. Otherwise, it sets the value to 0.
    <b>ABAP Memory</b>
    ABAP memory is a memory area that all ABAP programs within the same internal session can access using the EXPORT and IMPORT statements. Data within this memory area remains throughout a sequence of program calls, with the exception of LEAVE TO TRANSACTION. To pass data to a program that you are calling, the data needs to be placed in ABAP memory before the call is made from the internal calling session using the EXPORT statement. The internal session of the called program then replaces that of the calling program. The program called can then read from the ABAP memory using the IMPORT statement. If control is then returned to the program that made the initial call, the same procedure operates in reverse.If a transaction is called using LEAVE TO TRANSACTION, the ABAP memory and the call stack are deleted. They cannot be used for data transfer.
    Since objects belonging to ABAP objects can only be accessed within an internal session, it does not make sense and is therefore forbidden (from a syntax point of view) to pass a reference to an object to a calling program through the ABAP memory.
    <b>Example:</b>
    Export hello to memory id 'Hello_world'.
    Import hello from memory id 'Hello_world'
    Regards
    Sudheer

  • ABAP / SAP memory

    Hi Friends,
    Kindly give me  sample programs, for ABAP Memory and SAP memory.
    TIA.
    Regards,
    MARK K

    Hi,
    DATA TEXT1(10) VALUE 'Exporting'.
    DATA ITAB LIKE SBOOK OCCURS 10 WITH HEADER LINE.
    DO 5 TIMES.
      ITAB-BOOKID = 100 + SY-INDEX.
      APPEND ITAB.
    ENDDO.
    EXPORT TEXT1
           TEXT2 FROM 'Literal'
      TO MEMORY ID 'text'.
    EXPORT ITAB
      TO MEMORY ID 'table'.
    In this example, the text fields TEXT1 and TEXT2 are stored in the ABAP memory of program SAPMZTS1 under the name "text". The internal table ITAB is stored under the name "table".
    DATA TEXT1(10) VALUE 'Exporting'.
    DATA ITAB LIKE SBOOK OCCURS 10 WITH HEADER LINE.
    DO 5 TIMES.
      ITAB-BOOKID = 100 + SY-INDEX.
      APPEND ITAB.
    ENDDO.
    EXPORT TEXT1
           TEXT2 FROM 'Literal'
      TO MEMORY ID 'text'.
    EXPORT ITAB
      TO MEMORY ID 'table'.
    SUBMIT SAPMZTS2 AND RETURN.
    SUBMIT SAPMZTS3.
    The first part of this program is the same as the example in the section Saving Data Objects in Memory. In the example, the programs SAPMZTS1 and SAPMZTS2 are called using SUBMIT. You can create and maintain the programs called using the SUBMIT statement by double-clicking their names in the statement. For further information about the SUBMIT statement, refer to Calling Executable Programs (Reports)
    Example for SAPMZTS2:
    PROGRAM SAPMZTS2.
    DATA: TEXT1(10),
          TEXT3 LIKE TEXT1 VALUE 'Initial'.
    IMPORT TEXT3 FROM MEMORY ID 'text'.
    WRITE: / SY-SUBRC, TEXT3.
    IMPORT TEXT2 TO TEXT1 FROM MEMORY ID 'text'.
    WRITE: / SY-SUBRC, TEXT1.
    Example for SAPMZTS3:
    PROGRAM SAPMZTS3.
    DATA JTAB LIKE SBOOK OCCURS 10 WITH HEADER LINE.
    IMPORT ITAB TO JTAB FROM MEMORY ID 'table'.
    LOOP AT JTAB.
      WRITE / JTAB-BOOKID.
    ENDLOOP.
    DATA: TEXT(10) VALUE '0123456789',
          IDEN(3)  VALUE 'XYZ'.
    EXPORT TEXT TO MEMORY ID IDEN.
    TEXT = 'xxxxxxxxxx'.
    IMPORT TEXT FROM MEMORY ID IDEN.
    WRITE: / SY-SUBRC, TEXT.
    FREE MEMORY.
    TEXT = 'xxxxxxxxxx'.
    IMPORT TEXT FROM MEMORY ID IDEN.
    WRITE: / SY-SUBRC, TEXT.
    The output is
    0 0123456789
    4 xxxxxxxxxx
    The FREE MEMORY statement deletes the data cluster "XYZ". Consequently, SY-SUBRC is 4 after the following IMPORT statement, and the target field remains unchanged.
    sap memory
    TABLES SBOOK.
    START-OF-SELECTION.
      WRITE: 'Select a booking',
      SKIP.
    GET SBOOK.
      WRITE: SBOOK-CARRID, SBOOK-CONNID,
             SBOOK-FLDATE, SBOOK-BOOKID.
      HIDE:  SBOOK-CARRID, SBOOK-CONNID,
             SBOOK-FLDATE, SBOOK-BOOKID.
    AT LINE-SELECTION.
      SET PARAMETER ID: 'CAR' FIELD SBOOK-CARRID,
                        'CON' FIELD SBOOK-CONNID,
                        'DAY' FIELD SBOOK-FLDATE,
                        'BOK' FIELD SBOOK-BOOKID.
      CALL TRANSACTION 'BOOK'.
    Thanks, 
    Das............

Maybe you are looking for

  • Help in BAdi for MIGO

    hi friends, i have a requirement in which, when i post goods in migo, a pop up should come where i have to enter a form(form-31) details and this should get reflected in an ztable along with the vendor details. i have found that a BAdi(MB_DOCUMENT_BA

  • Starcraft 2?

    Can my Mac Mini Play starcraft 2 on Ultra at comfortable frame rates? I wanna play this game for about 2 hrs a day on my mac mini. Will it overheat?

  • New Log Files Not 100% Utilization

    I just recently deployed my web app with new configurations to require my BDB to have at least 65% disk utilization (up from the default 50%) and 25% minimum file utilization (up from the default 5%). On start of my app, I temporarily coded an env.cl

  • Setting up workspace? What works best?

    What are some of the best ways to setup your workspace, and what makes for a good workspace in Logic? If possible please include a screen capture.

  • Please give me a solution

    i want to make an select list item to be inactive after clicking a button