Memory managemnt concept

Hi all,
Does any one have any doc about this issue ? (not online help)
I am confuse at the term "SAP Roll Area","SAP Extended Memory","Private Memory"
Regards.

Hi,
When a dialog workprocess sart executing a task given by a dispatcher, it happens
in different steps and accordingly the memory allocation takes place as per the
request of user.
Roll Area, Extended Memory and Provate Areas are the part of this memory allocation.
Lets start with Roll Area.
In the course of their work in dialog work processes, users
accumulate various pieces of data, "user context". The copy action of the user context in the roll area into the local memory of the work process called roll-in. When the request gets completed by the user the user context gets rolled out from the wrkprocess.
If buffer space available the roll area or paging area helds in the particular instance or else they must be stored in physical disk files known as Roll File or Paging File.
Extend Memory:
User Contexts are stored in buffer or in File as they need less memory but when a transaction start executing, it may need  more memory so in that case Extend Memory
comes into picture.
Its  a large area of memory shared by all work processes can
be accessed through pointers.
Main Reasons for using Extended Memory:
1.Fast context switches are needed in SAP systems, because many users share
few work processes
2. SAP transactions consist usually of more than one step/screen
3. Fast context switches are not possible by storing huge amounts of
transactional data in the roll/paging area
4. Extended Memory is accessed through pointers, therefore fast context
switches are possible
Private Mode:
A dialog process that was forced to allocate SAP heap memory automatically
enters PRIV mode. While a user is in a transaction which caused the dialog work
process to enter PRIV mode, no other user can access this process. Since SAP
architecture uses a limited number of work processes to satisfy a larger number of
front end users, other users suffer when a work process goes into PRIV mode. If
several work processes go into PRIV mode simulataneously, they can work well,
but other users can hardly work at all.
Always the PRIV mode is avoided.
Roll Area and Heap Memory(PRIV Mode) are stored in local memory where as the Extended Memory stored in Shared Memory.
If you need more details about these paramaters please let me know.
Thanks,
Tilak

Similar Messages

  • Memory ID concept in Sap Abap

    Hi All,
    I am working on a user-exit which I picked up in middle of developement and which is using memory id concept. The requirement is like display error message in ME21N transaction and when clicking the Additionl Information in error msg it should call another report. there was some transaction developed and everything was working very fine but as the transaction was not meeting the dev standard that is deleted and a new is created but not that is not working. the exit part is working but not calling the reports .
    is there any program which should export these ids ??? or what is missing really no idea..
    having any idea??
    thanks and best Reagards.
    Kusum.

    Hi All,
    I got the answer. To call a program for certain message in user exit , you have to assign that transaction in long text of the message.
    thanks and best regards.
    kusum.

  • Main Memory Cleaning Policy (Algorithm)

    Respected Sir/Madam,
    I am studying the memory management concepts of Microsoft Windows Operating System.
    I need to know about the Main Memory Cleaning Policies or algorithms of latest Operating systems of Microsoft (Windows 7 and 8) in details.
    What is the threshold level required for the page replacement after remaining the minimum page frames available in main memory ?
    What is the Architecture of the Virtual memory management system of these operating systems?  
    It is Urgent.
    Please send me the answers of these questions.
    I shall be very thankful to you for this.

    Hi ,
     Thanks for the response. Basically I first opened parent panel which is of type Window. It included menu , toolbar etc. For menu/toolbar events it opens child windows which gets displayed in main window in the form of tabs. This is my use case.
    I tried the suggested profiler Redgate Ants profiler. Its very good and informative! I ran the profiler
    got the following output. Though I closed the child window it seems objects are still there in memory . No where I left out string , byte array objects in my code.
    Not sure why Runtimemethodinfo , hastable bucket are there in memory. I even tried the workaround mentioned at here.
    I thought panel resources might have not been freed up and in my code I am clearing them as well. Still did not see much improvement. Any additional things do I need to check? Please let me know.
    Thanks,
    Brahmaji.

  • How Does the Waveform Chart Allocate Memory in LabVIEW?

    I am not understanding the Memory allocation concept in chart. When it will be happened? If it is in run time, I am getting the exception before running the application itself. Can you help me on this?

    > I am not understanding the Memory allocation concept in chart. When it
    > will be happened? If it is in run time, I am getting the exception
    > before running the application itself. Can you help me on this?
    This depends a bit on the datatype. For all charts except those with
    the waveform datatype wired up, all memory is preallocated when the VI
    loads or compiles. Some datatypes, like the 2D array can add plots at
    runtime, and obviously the chart history will need to reallocate when
    that occurs.
    If the chart has a waveform or array of waveforms wired to it. It has no
    way of knowing how many points are in a waveform and will need to
    allocate them as they arrive. It has a top array of waveforms that is
    preallocated.
    I answered your question a
    bout the chart, but I'm not sure if this is
    what is causing your problem. If you are setting the chart history to a
    very large number, you might try smaller numbers and see if that is part
    of the problem. Otherwise it might be some other part of your diagram.
    Greg McKaskle

  • How to Export data using DATA Cluster?

    Hi,
    I am trying to export around 10000 records using Memory ID concept  in the same session to another spot. 
    IF sy-subrc = 0.
    Exporting the number of total records
      EXPORT g_tot_line FROM g_tot_line TO MEMORY ID c_tline.
    ENDIF.
    My issue : - It throws dump saying
    ''When the SAP paging overflow occurred, the ABAP/4 memory contained
    entries for 8 of different IDs.''
    insufficent space and i need to use the clustres.
    I am not sure how to use Clusters in this scenario....
    Any suggestions will be appreciated..
    Regards,
    Charan

    What is so complicated about Data Clusters ?
    Did you do an F1 or read the online documentation: [http://help.sap.com/abapdocu_70/en/ABAPEXPORT_DATA_CLUSTER_MEDIUM.htm], [http://help.sap.com/abapdocu_70/en/ABAPIMPORT_MEDIUM.htm]
    If you've any specific question, shoot !!!
    BR,
    Suhas

  • Transfering fiels value

    Hello gurus ,
                    I have two transaction in module pool program , I want to transfer some field value ( ex plant) from one transaction to another transaction field ex (plant) .
          In selection screen its so simple , but how to do in module pool .
    I am waiting for your valuable reply .
    Regards ,
    Joy .

    Hi.
    Use the memory ID Concept.
    1. When u use memory id, make sure of the
    following points.
    a) The memory id is SAME as the variable name
    b) Memory id should be in CAPITAL
    c) When u want to import,
    the variable name should be same as original one,
    and should be declared in the same fashion only.
    *-------- for Z1
    report zmem_sha.
    DATA : PERNR LIKE P0001-PERNR.
    PERNR = '00004556'.
    EXPORT PERNR TO MEMORY ID 'PERNR'.
    CALL TRANSACTION 'ZTR01'.
    *-------- For Z2 (having tcode ZTR01)
    report abc.
    DATA : PERNR LIKE P0001-PERNR.
    IMPORT PERNR FROM MEMORY ID 'PERNR'.
    BREAK-POINT
    Regards,
    Anversha

  • Export parameter while using Object based navigation.

    Hi Experts,
    I am trying to call MM01 transaction using object based navigation from webdynpro component . My requirement is to send one parameter from web dynpro component to the one of the enhancements (On Save) in MM01 transaction.I have tried using export and import memory ID concept, but didn't work. I would be greatful if some gives me the soljutin for this.
    Thanks and Regards,
    Kiran.

    Hello Kiran there is an SAP note that mentions
    #1352104: OBN action's Business Parameters don't reach AI Target
    -Symptom:
    OBN ignores DynamicParameter parameter when passed in POST:
    In an OBN action that launches an iView (the OBN target iView) of type
    application integration - the business parameters are not be passed to
    the target if the post body contain DynamicParameter.
    So check the version you are using if it is affected, the fixes released and the workaround suggested,
    Hope this helps,
    Edison Büttenbender
    Edited by: Edison Buttenbender on Jun 15, 2011 5:22 PM

  • Why swap size error when I install ides ecc6.0 in windows 2003 x86

    Hi,
       I feel very confusion why the installation prompts me that "Swap size are not meeting condition" when I install IDES 6.0 in windows 2003 server x86.
       The ides type: ECC 6.0, MS SQL server 2005, Windows 2003 server x86.
       It's windows, not linux, where is the swap space?
       Could somebody give me a kindly help?
       Thank and thank
    Jason

    Hi,
    In Windows, Paging File Space (Virtual Memory Space) concept is called as similar to Swap space thing  in Linux/Unix OS. Both terms are used for virtual memory concept as per OS.
    Minimum 20 GB of Paging File spaces is required for the SAP Installation on Windows. So ,allocate them from different drives  or from single drive partition of your available Hard disk space.
    Follow this path [to change your existing Virtual Memory or Page File size in Windows|http://technet.microsoft.com/en-us/library/cc737315%28WS.10%29.aspx].
    Control Panel -> system -> Advanced Tab -> Performance section-Settings -> Advanced Tab -> Virtual Memory ->Change
    Regards,
    Bhavik G. Shroff
    Edited by: Bhavik G. Shroff on Feb 6, 2010 2:36 PM

  • Coding help reqd for BADI

    HI Friends,
    Im working on MB_MIGO_BADI object for MType: 261.Here, im facing a problem to call a info msg with coding effect.i.e, I've to give a conditional message says that if the user tries to change the quantity (changing the existing/available in the field text of MIGO), then it'll give a window pop-up message or info msg like "Quantity should not be changed". Pls reply ur post how to fix this.
    The fields are
    1) cs_goitem-bwart " MType
    2) cs_goitem-erfmg "Quantity
    Note: A) It'll be applied only for MType:261.
              B) Pls advise, Here, shall I declare the export and import memory id concept?
    FYI
    ******Below is the coding part declared inside the method function.
    method IF_EX_MB_MIGO_BADI~LINE_MODIFY.
    if cs_goitem-bwart eq '261'.
    *cs_goitem-erfmg is not initial and
    *call function 'CUSTOMIZED_MESSAGE'
    *exporting
    Message i006(zmsg).
    endif.
    endmethod.
    Above, it helps only showing the info msg while entering the mtype: 261.But i need to display it only if the cursor comes into Qty (ERFMG) field. Pls advise me how to fix with ur coding example.
    mail me:[email protected]

    Posted newly since one of the issue got solved.
    thanks

  • Parameter or Field Exit issue

    Hi friends,
    Im working on Field exit object for MIGO.B4 activating this i've faced some parameter issue and that also has been solved by my Basis consultant.(They set the parameter to "Yes" and restarted the server too.)
    Now, i've activated the Field exit data element and inside the FM, i've declared some coding part....the problem is, its not working out fine as what i required exactly.
    I want to know either the issue is on still basis consultat side or my program coding part.
    FYI
    they set the User-defined default status is Yes and still the system default status is "No".(is it the problem???)
    *****coding
    data: matnr type matnr.
    get PARAMETER ID 'MAT' field matnr.
    ****The logic is read the PO data from the memory ID concept and compare
    with the current MIGO quantity.
    Pls advise.

    Have you activated the field exit.
    Go to SE 38 - give the program name as RSMODPRF and Execute.
    Then Data Element screen appears. Execute that screen (DO NOT give any Data Element Name here).
    Then it will show you the Data element name for which you have created the field exit. Then select that Data Element and then menu FIELD EXIT -> ACTIVATE.
    Also click on Assign Prog/Screen button and assign the Program name and screen number for which you are going to use otherwise it will impact on all the screens.
    In your coding I could not see and output...You need to give the OUTPUT = < some value> or based on the parameter values you are getting, give your own logic to define that value and assign it to the OUTPUT parameter value. Then you can see the output value.
    Hope it helps.
    Reward if it is useful.
    Thanks,
    Srinivas

  • Apply Changes with Pagination

    Hi
    In my master-detail form when user in updating the values in the tabular region and presses "Next" or "Previous" button to bring next set of rows, the updates he made are lost as no update/save/apply_change process is fired.
    Is there a way to save the changes made in the tabular form when next or previous button is pressed?
    Habib

    For quite some period, i also face the similar problems. Visible changes alone are getting saved and if we pass through next previous, earlier chages are getting ignored. People are telling that it is a limitation of 50 page memory variable concepts. Even if it is not exceeding, the problem prevails. One other jambavan has suggested that it has been resolved in 3.2.1 apex. It is not so... I did not tried with 4.0.

  • Why won't 10.8.2 allocate over 3.7 GB of VM?

    I'm working with a Graphics heavy MMO -- It expects to be able to use over 4GM of memory.
    My 27 inch iMac has 4GB of physical memory.
    However, OSX page-faults every time the application wants more than 3.7 GB of memory.
    Crashing the dispatch queue.
    So far, the maximum number of Swapfiles I've "caught" is 6 for a total of 3 145 728 - 512 byte blocks.
    ls -als /private/var/vm
    total 3145728
          0 drwxr-xr-x   9 root  wheel         306 Oct 11 09:43 .
          0 drwxr-xr-x  26 root  wheel         884 Jul 28 17:43 ..
      65536 -rw-------   1 root  wheel    67108864 Oct 10 14:55 swapfile0
      65536 -rw-------   1 root  wheel    67108864 Oct 11 09:44 swapfile1
    131072 -rw-------   1 root  wheel   134217728 Oct 11 09:44 swapfile2
    262144 -rw-------   1 root  wheel   268435456 Oct 11 09:44 swapfile3
    524288 -rw-------   1 root  wheel   536870912 Oct 11 09:44 swapfile4
    1048576 -rw-------   1 root  wheel  1073741824 Oct 11 09:44 swapfile5
    1048576 -rw-------   1 root  wheel  1073741824 Oct 11 09:44 swapfile6
    From the consistancy of the crashes, it's clearly an issue with Virtual Memory allocation.
    What I'm looking for is any explanation of the VM system in Mountain Lion.
    Everything I can find is ancient, at best it describes Snow Leopard or Lion, and I know that Memory Management has changed in Mountain Lion.

    The answer to "VM jumping up to more than the Fee Space on the Drive" is actually quite "simple."
    Virtual Memory is not really what everyone thinks it is. Part of it is actually the application itself on disk. Another, and in most cases, the primary portion, is simply "allocated," but not used. And I put "Allocated" in quotes because it is not allocated in a physical sense on the disk, but in a table in memory.
    Virtual Memory managemnt is a complex topic and for Mountain Lion, not documented. The Docs describing OSX virtual memory go back to Tiger for the most part. However, for Lion and Mountain Lion significant changes were made.
    One of the things I was looking for was the answer to the question -- does OSX use "Eager Swap" or Lazy Swap" and what do those terms mean to OSX. One term means "allocate the disk space for swapping this App at Launch." The other means "don't allocate the disk space until it is needed to swap the app out."
    Both are gross simplifications, but the basic idea.

  • SGA Parameters

    Dear Friends
    I have Oracel 10gr2 date base installed on machine with windows XPSp2, with 3Ghz CPU, and 1.28 GB memory, i have about 30 user, and they are all student.
    they work on oracle designer and forms and reports, in the past i faced many problems like full shared pool.
    right now i have 352MB as Max SGA Size and automatic shared memory managemnt enabled.
    what is th needed steps to avoid encountring problems like full shared pool , and what is the maximum sga size, and the DB_BLOCK_SIZE that must be set to solve these problems.
    Waiting your answer my friends
    Best Reagrds
    Mohammad Alnaimat

    On some platforms SGA_MAX_SIZE of memory has to be allocated at startup so on those platforms the SGA_MAX_SIZE should equal the SGA_TARGET since the memory will be wasted otherwise. You should check your platform specific documentation.
    Make sure you have unset all the auto-tuned parameters:
    db_cache_size, shared_pool_size, large_pool_size, and java_pool_size
    You still manuall size the redo log buffer (log_buffer), any non-standard buffer pools including keep and recycle, and Streams.
    You still want to set sort_area_size since this parameter is still used for some operations.
    HTH -- Mark D Powell --

  • Rolling area & paging area ?

    what is the rolling area and paging area ?explain plzzzzzzzzzz ?

    hi
    <b>SAP Roll Area</b>
    <b>Definition</b>The roll area is a memory area with a set (configurable) size that belongs to a work process. It is located in the heap of the virtual address space of the work process.
    <b>Use</b>When the context of a work process changes, the data is copied from the roll area to a common resource called the roll file. To prevent repeated copying, another roll buffer is located in between that is part of the shared memory.
    <b>Structure</b>The roll area consists of 2 segments. The first segment, which can be set with the parameter ztta/roll_first, is assigned to the work process first as memory. If this is used up, the work process has more memory assigned to it. The amount of memory is determined by the difference between the parameters ztta/roll_area and ztta/roll_first.
    For more detailed information, please see the platform-specific section under Implementation.
    <b>Integration</b>
    For technical reasons, the roll area is always the first memory that receives a work process. Only afterwards can extended memory be requested.
    <b>SAP Paging</b>
    Memory Management
    Allocation of memory for the current internal session by transferring pages out of memory, similarly to operating system paging.
    SAP Paging enables the roll area to be extended at ABAP runtime when a large dataset, internal tables, for example, is handled.
    SAP's memory management concept currently limits SAP Paging to cases where the ABAP commands EXTRACT and EXPORT... TO MEMORY... are used.
    http://help.sap.com/saphelp_nw2004s/helpdata/en/02/962831538111d1891b0000e8322f96/content.htm

  • What is the memory concept u201CExport to memory idu201D.

    Hello Experts!!!
    I am new in OOPS programing. Can please somebody tell me what is the memory concept u201CExport to memory idu201D. Also it will make my life so easy if can have few simple examples.
    Thanks.

    This is from SAP help:
    When you specify MEMORY, the data cluster is written to the ABAP Memory with the stated ID id. id is expected to be a flat character-type data object which contains an identification with a maximum of 60 characters. An already existing data cluster with the same identification id is completely overwritten. By the identification in id, a data cluster is identified in the memory and can be read again with the same identification.
    Obsolete short form
    The addition ID can be omitted outside classes. However, this is prone to errors, as all EXPORT statements without identification overwrite the same data cluster.
    ABAP Memory
    Memory area within every main session, which the programs with the statements EXPORT and IMPORT can access. This memory area is maintained via a succession of program calls (call sequence).
    Note
    A data cluster in the ABAP memory is available to all programs within a call sequence, whereby data can be handed over to called programs.
    Example
    Two fields with two different identifications "P1" and "P2" with the dynamic variant of the cluster definition are written to the ABAP Memory. After execution of the statement IMPORT, the contents of the fields text1 and text2 are interchanged.
    TYPES:
      BEGIN OF tab_type,
        para TYPE string,
        dobj TYPE string,
      END OF tab_type.
    DATA:
      id    TYPE c LENGTH 10 VALUE 'TEXTS',
      text1 TYPE string VALUE `IKE`,
      text2 TYPE string VALUE `TINA`,
      line  TYPE tab_type,
      itab  TYPE STANDARD TABLE OF tab_type.
    line-para = 'P1'.
    line-dobj = 'TEXT1'.
    APPEND line TO itab.
    line-para = 'P2'.
    line-dobj = 'TEXT2'.
    APPEND line TO itab.
    EXPORT (itab)     TO MEMORY ID id.
    IMPORT p1 = text2
           p2 = text1 FROM MEMORY ID id.

Maybe you are looking for

  • Security error while loading pdf file in jsp in firefox?

    When i type in the following link manually in firefox as " file://///172.16.2.1/copyediting/ELS/mallet.pdf", pdf file is loaded successfully in the firefox browser. PDF file is located in remote server which is referred by IP 172.16.2.1. I've assigne

  • After setting Firefox as my home page how do I get Firefox to open my AOL E-mail? in English

    Under Firefox's "How to set home page" it states "you can set the Firefox home button to open your e-mail" How do you do this?

  • Select Into code not working in Trigger

    Hello there, I was hoping somebody could give me the solution to this problem , I have a scenarior in which I was trying to insert into table B if an insert occurs on Table A by the use of a trigger on table A . Here is the code: BEGIN IF INSERTING T

  • SUS SUPPLIER SELF-SERVICES

    Hi All, Unfortunately, the course of SRM215 (SUPPLIER SELF-SERVICES ) is read only in several countries (6-7) and then at the end of the year, please tell me where else can you find the information contained in this course in a book, or somewhere els

  • Text messaging cant send..

    why does my Nokia 5230 cant send text messages, it always stored in my outbox & it always says 'resend at 9:00'. despite i have check all the message settings & my balances with my network provider. can u pls help me? tnx!