Memory ID's in a program

Hello all,
I am debugging a program A which is being called by program X. Program A is importing some data from a memory id. I assume this data was exported to the memory id in program X. Now I need to know what all memory id's are available for program A as I want to see what all information is available to program A. Is there a way to find all the memory id's available to a program.
NOTE: I just know program name A. I do not know program X which is calling A.
Any ideas appreciated.

hi check this..
http://help.sap.com/saphelp_nw04/helpdata/en/9f/db9e0435c111d1829f0000e829fbfe/content.htm
http://www.sap-img.com/abap/difference-between-sap-and-abap-memory.htm
regards,
venkat

Similar Messages

  • Do itabs in ABAP program memory swap out when the program is swapped out?

    Do itabs in ABAP program memory swap out when the program is swapped out by the app server scheduler?
    If so, has anyone compared the time it takes to open/close an Oracle table n times with the time it takes to swap an itab of 50M in and out n times?

    Andrew -
    Although your suspicion appears to be wrong (according to the answer provided by CharlesF below), I'm awarding 6 because your answer indicates that you are at least sensitive to the issues involved here (which is better than 90% of the SAP practitioners out there.)
    However, I do want to take strong issue with you on the matter of how much available "multi-gig" memory is available, because this is irrelevant to the issue at hand.
    The question is: how does the swapin/out of large program memory affect the scheduler on the app server?
    This is a queueing theory issue that has nothing to do with how much memory is out there.
    Back in the days when folks had to know a little queueing theory (to evaluate the pro's and cons of ISO vs SNA and token-ring vs other protocols, everyone understood that if you ask the scheduler to repeatedly swap "alot" and to do so very often, then there will be a profound ripple effect on system performance, not just for anyone "job" or "program", but for any and every job or program.
    The reason is very simple, and the folks who taught the ISO/SNA seminars always used it: traffic flow on passenger highways is always best when there are few trucks travelling with the cars.  This is why the New Jersey turnpike sometimes splits into two "cars only" and "trucks and cars" highways, and why many other roads have "right lane" only restrictions for trucks in certain areas that tend to get congested ...
    Anyway, always a pleasure to chat with you ...
    Best regards
    djh

  • There is not enough memory available to run this program

    Hi!
    I am trying to install Oracle 9i Personal Edition of a P-4 machine with 37GB hdd space (primary partition) with 768mb of installed RAM on Windows 98 SE. After installing 100% with typical settings of General Database, during the database configuration it gives out me an error message saying "There is not enough memory available to run this program. Quit one or more programs, and then try again" though I have 88% of RAM free and no other programs are running at this time. Please help.

    Hi!
    I am trying to install Oracle 9i Personal Edition of a P-4 machine with 37GB hdd space (primary partition) with 768mb of installed RAM on Windows 98 SE. After installing 100% with typical settings of General Database, during the database configuration it gives out me an error message saying "There is not enough memory available to run this program. Quit one or more programs, and then try again" though I have 88% of RAM free and no other programs are running at this time. Please help.

  • How to deallocate memory used by the labview program?

    Hi,
    I have bulit a large application in labview 2012 that uses a couple of subvis, local and global variables, some uninitialized shift registers (functional global variables) and some c++ and .net dlls as well. When I open my application the memory usage shown at Windows task manager is around 1.4GB. After running the application and enabling all processes used in the application, the memory usage goes up to 1.55GB but when i stop the application, memory is never released/deallocated until i close the application plus exit labview. Can you suggest how to deallocate this memory? and how can i use the request deallocation function for this application? labview help says i have to place it inside a subVI for which i want to deallocate memory. But i have a lot of subVIs used in my application. I tried placing it in the top level VI and called it after stopping all processes but it didn't work... I am also closing references to all of the .net dlls at the end. Any workarounds??
    Thanks

    sandee wrote:
    When I open my application the memory usage shown at Windows task manager is around 1.4GB. After running the application and enabling all processes used in the application, the memory usage goes up to 1.55GB but when i stop the application, memory is never released/deallocated until i close the application plus exit labview.
    You already got some good advice. One thing that was not clear was how you are measuring memory. Since the task manager is capable of showing the memory used by LabVIEW alone (you simply need to look elsewhere), and you said that the memory gets released when you exit LabVIEW, you gave the impression that the 1.4GB was the LabVIEW portion.
    OK, so a couple of hundred MB used by LabVIEW is really nothing to worry about. Are you running into memory or other performance problems? What are the symptoms?
    sandee wrote:
    I have bulit a large application in labview 2012 that uses a couple of subvis, local and global variables, some uninitialized shift registers (functional global variables) and some c++ and .net dlls as well.
    We really need to see some code. It is very well posssible that you have a lots of unecessary data copies in memory due to sloppy programming. How big are the data structures? Do you use local variables for big data structures? What does the program actually do?
    LabVIEW Champion . Do more with less code and in less time .

  • Getting memory usage details in ABAP program

    Hello,
    Is there any method to get the memory used by the program and control the program like restricting the memory usage to some limit or any other control measures which can be taken in the program itself if the memory usage by the program exceeds a maximum limit. Or kindly let me know where i can find the details.

    Hi,
    > Is there any method to get the memory used by the program
    investigate the methods of class cl_abap_memory_utilities (e.g. GET_TOTAL_USED_SIZE)
    >and control the program like restricting the memory usage to some limit
    report rsmemory can change the systemwide quotas
    >or any other control measures which can be taken in the program itself if the memory
    >usage by the program exceeds a maximum limit
    needs to be implemented manually if neede program specific...
    Kind regards,
    Hermann

  • Area of memory allocation each time the program runs

    the syntax
    DATA   f TYPE  C VALUE 'A' .
    Actually allocates a memory area say it is 1000 -
    now this is true for the  time the program runs-----my question is when the program  runs for the second time does the same location 1000 gets allocated or
    a new memory say5000 gets allocated?

    HI
    When prog runs it allocates memory and when it finishes it will make that memory free. Its not necessary that it always allocates same memory location. No need to bother about memory address SAP is not like C.
    Aditya

  • Firefox has started using up my available memory significantly slowing other open programs.

    When I am doing research or writing I have Firefox open with multiple tabs running as well as Microsoft Office applications. Within a short period of time, the entire computer slows down. System processes show 100% of CPU used with Firefox eating up about 80%. When I close Firefox and then disable that process, all other programs and computer speed return to normal. I'm only using 1/3 of the available memory. I use Windows 7 and have 3g of physical memory.

    Start Firefox in [[Safe Mode]] to check if one of the add-ons is causing the problem (switch to the DEFAULT theme: Tools > Add-ons > Themes).
    * Don't make any changes on the Safe mode start window.
    See:
    * [[Troubleshooting extensions and themes]]

  • Out of memory? i have deleted programs and recordings and no changes are recognized in memory

    I cannot take pictures because the "out of memory" comes up on the built in app. I can however take pics with hiptsamatic. What is going on with this memory. I deleted several apps with 100 megs and the memory numbers do not change or adjust downward. I ahve restarted the device and still no changes. Any ideas ?

    What is your final product? And do these 28 sequence need to be all in the same timeline?
    Try again with a new project and load the in one at at time. Give Premiere a chance to index etc if neccessary before loading up the next one.

  • Running out of Memory,, opened at once 3 programs, mail, safari, finder

    Why my i7 Mac Pro with 16GB, 500GB HD is getting out of memory. Just purchased. No MS Office and Adobe installed yet

    now, as I have closed, it shows all Green Signals. the screen shot is attached for review.

  • Why does Firefox 9.01 use such excessive memory that my a/v program issues a warning? This problem is going to run Firefox users to another browser.

    It makes no sense for so much memory to be used. This has been my favorite browser, but this gives me second thoughts. I see that I'm not the only one. 600+MB just to view my home page? I must close browser to regain memory, but it is sucked right back out in minutes. This is a serious problem when you consider that it will cause people to shy away from Firefox. I would rather see you succeed rather than fall to IE or Chrome.

    600+ MB does sound like a lot, but that depends on what you are using as your homepage, and how much of that 600 is being used by the plugin container - Flash and other plugins. Also, using that amount might have to do with how much RAM you have installed - the more RAM installed and the more Firefox allows itself to use. If you have AVG 2012 installed and the AVG Advsior is giving you that message, see this: <br />
    http://blogs.avg.com/community/avg-feedback-update-week-44/
    See - 3. AVG Advisor = Disable AVG Advisor performance notifications
    or try using the "Change when these notifications appear" and set a higher threshhold

  • Mac Mini mid 2010 Moutain Lion Memory full without working any program

    My Mini works very slow and the memory(5Gb) get's full during night in sleep modus.
    And sometimes the free memory space is only ~40Mb
    What is the problem with memory ?
    Best Regards

    dogfather1976 wrote:
    yes, I am sure.. one 4GB bar and one 1GB bar.
    thera a lot activities.. it's not possible to say which is most consuming and which not.
    There is a way.   In Activity Monitor there is a drop down
    menu on the top right, select all processes.  Next, click
    the Real Mem column to sort.  You will then see the
    processes listed in order of memory usage.

  • How to get total physical memory on the system thru program

    Hi,
    I have used kstat for identifying physical & virtual memory. I am able to get the data items of vminfo_t, but vminfo_t doesnot give the total physical memory all I get fro vminfo_t is
    free memory, swap reserved, swap allocated, swap available and swap free.
    Can someone help me in getting total physical memory of the system.
    Thanks,
    Ram

    I do not believe you can get the physical number of pages through kstat. However, you can get it through sysconf(3C). The argument SCPHYS_PAGES will return the number of pages in the system.
    See the sysconf(3C) manpage for more information.
    Alan
    Sun Developer Technical Support
    http://www.sun.com/developers/support

  • 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

  • Increase memory allowed to a program?

    Hi,
    Is it possible to increase the amount of virtual memory allowed for a particular program? I am running a big analysis (on a macbook with MAC OS 10.4) and my program tells me that I need to increase my memory to perform the analysis?
    thanks,
    seb

    Hi Seb,
    Nope, it's all taken care of automatically in OSX, (unless you're speaking of a "Classic" OS9 APP), what it likely means is that your HD is running critically low on free space.
    How much free space is on the HD, where has all the space gone?
    Get Disk Inventory X...
    http://www.derlien.com/
    GrandPerspective...
    http://grandperspectiv.sourceforge.net/

  • 0.5 MB program has 832 MB memory usage even before it is run

    I just uninstalled and re-installed LabVIEW 2011. I was hoping this would do something to lower the memory footprint. Alas, it did not make any difference. This is what I see:
    - When I launch LabVIEW, it uses 94 MB even before I have opened a single VI, i.e. only the front end uses this much memory.
    - When I open the VI (the size of the .vi file is 549 KB), memory usage goes up to 836.4 MB. This is before I have even run the program.
    - Finally, when I run the program, memory usage jumps to 1.17 GB.
    I find this memory usage grotesquely high. Can anyone please shed some light on what can be done? I have uploaded the VI. It's a rather simple VI.
    Thanks,
    Neil
    Attachments:
    IP QL to charge - from img.vi ‏446 KB

    nbf wrote:
    1) If I understand correctly, what you are saying is that when I open the VI, the data structures associated with the intensity charts and waveform graphs are initialized to default values (e.g. 0), so there is memory usage even before the program is run and anything displayed, right?
    Yes, a huge array still takes a lot of memory, even though it compresses well for storage inside the VI. Once the VI is ready to run, these arrays need to be allocated in memory.
    nbf wrote:
    2) Is there an alternative to using the value property node that doesn't duplicate the memory content? (e.g. something like pointer or reference in C++?)
    One possiblity are data value references. You can open a DVR and fill it inside the subVI, then extract slices later as needed. If done properly, you can also keep the 2D data in a shift register (yes, please learn about them!).
    nbf wrote:
    4) Regarding the clearing of the indicators, could you please tell me how to do that, without removing the color ramp settings?
    The color ramps can be set programmatically using property nodes based on array min&max and you can assign colors for the ramp values at will.
    nbf wrote:
    5) You are correct that I am displaying 4000x2000 array data in an intensity graph with 400x200 pixels. But then I change the min/max of the charts/graphs to zoom into the region of interest; I can identify the region of interest only after displaying the full 4000x2000 array of data. I don't know if there is a way around this.
    Do you really need to show the 2D data in three different transforms? Maybe one intensity graph is sufficient. You can apply the other transforms on the extracted slices with <<1% of the computing effort. What is the range and resolution of your data? Do you really need DBL or is a smaller representation sufficient (SGL, I16, etc). From looking at the subVI, the raw data is U16. The subVI also involves a coercion to DBL, requireing another data copy in memory. When running, make absolutely sure that the subVI front panel is closed, else additional memory is used for the huge array indicator there. For better performance, you might want to flatten the subVI to the main diagram or at least inline it.
    nbf wrote:
    6) Yes, I use the continuous run mode instead of a toplevel while loop. Is there a disadvantage to doing that?
    As Samuel Goldwyn ("A hospital is no place to be sick") might have said: "Run continuously is no way to run a VI"
    Run continuously is a debugging tool and has no place in typical use. What it basically does is restart the VI automatically whenever it completes, and as fast as the CPU allows. It is mostly useful to quickly test subVIs that don't have a toplevel loop and play with inputs to verify results. Any toplevel VI needs a while loop surrounding the core code. Period!
    So, my suggested plan of action would be:
    Use a while loop around your toplevel code
    Decide on the minimal representation needed to faithfully show the data.
    Keep a single copy of the 2D array in a DVR
    You optionally might want to undersample the data for display according to the pixel resolution and use other means of zooming and panning. For zooming, you could extract a differently sampled small array subset and adjust x0 and dx of the axes accordingly.
    Use a single 2D graph (if you need to see the various transforms, add a ring selector and transform the 2D array in place. Never show more than one intensity graph.
    See how far you get.
    LabVIEW Champion . Do more with less code and in less time .

Maybe you are looking for