SAP Memory Analyzer problem

Hi All,
    I tried to use Memory Analyzer 1.1 on a heap dump generated in WAS when I got an OOM exception and the .hprof file could not be opened and a alert box saying that a NullPointer Exception had happened. Can you please advice as to what to do.
Regards,
Novik

Well, let me give you a quick follow-up about this posting:
hprof originally is an agent which can write memory maps from a running VM. As such, it can also run on IBM VMs, however, it produces only a textual output which (a) is very slow to generate and (b) does not contain all data necessary for the analysis.
So to be more precise, the Memory Analyzer works with hprof formatted binary heap dumps. These heap dumps are written by current Sun, HP and SAP virtual machines. Check our Wiki pages for the concrete version numbers.
In this particular dump, a IBM VM was used and the output not readable.
  - Andreas.

Similar Messages

  • 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)

  • 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

  • Acquire the non-evaluation version of SAP Memory Analyzer

    Hi.
    I'd like to know how to acquire a validly licensed copy of the non-evaluation version of SAP Memory Analyzer.
    My co-workers have been using it and seems to be useful.
    Thanks,
    Mariano.

    Hi Mariano,
    right now you cannot acquire the SAP Memory Analyzer separately. It is bundled with NetWeaver CE 7.10. Sorry, I can only tell you that you can use the evaluation license.
    There is hope, however. In Q1 or Q2 SAP will open source the whole tool to the Eclipse community. Read the proposal on the Eclipse site: [http://www.eclipse.org/proposals/memory-analyzer/]. As you can see, we try to make it happen within the next 90 days... I can't promise anything, but we will work hard to do it.
    Until then we have only the license available which comes with the current SDN download.
    Kind regards,
       - Andreas.

  • Where to Download the SAP Memory Analyzer

    Hi,
    I atended into the SAP Memory Analyzer presentation on the TechDay and it seemed to be a Free Tool but When I go into the link to Download it it says that it has a 90 day License and that it can not be used in production, does somebody knows what happened?
    Thanks in Advanced!!!
    Kind Regards,
    Gerardo J

    Hi Pavel,
    you may either use the standalone version of MAT to analyze Heapdumps (Eclipse Memory Analyzer Open Source Project) or install Eclipse IDE, then Perspectives "SAP JVM Profiler" from SAP Service Marketplace ("Browse Catalog...">"SAP JVM Supportability Tools"...) and then Perspective "Memory Analyzer" from http://download.eclipse.org/mat/1.4/update-site/ to have some combined tool, see example screenshot from documentation of SAP JVM Profiler:.
    Best regards,
    Hakim

  • Memory analyzer, how to get the to problem root/object

    Hi,
    I've viewed the live tutorial from https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/f0a5d007-a35f-2a10-da9f-99245623edda.
    My case was, i Dominator Tree, all top ten classes (with 95% retained Heap) were from org.hibernate.*, and only a few of my classes (with 1% retained heap) which were from http request/respond thread.
    Deep into those top classes, it didn't seem to link to my class; however my web app (use jboss, hibernate/ejb3) was runing of memory (GC overhead limit exceed).
    I'm wondering, any other way to find the problem with help of SAP Memory analyzer?
    Thanks
    John
    Toronto

    Hi
    Check out this guide and update the thread thereafter: https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/40244428-5703-2a10-17af-9e878922f900
    Ravi

  • Problem with "Leak suspect" report in Memory analyzer

    Hi Experts
    Thanks for providing such a powerful  tool !
    Anwyay, i'm getting an error message while trying to run  the "Leak suspect" report. Indeed i generated a heapdump on my Sandbox Netweaver server then i retrieved it to my PC. I'm able to display some informations (so i'm assuming my heapdump is correct) in Memory Analyzer but the error came with "Leak suspect" report.
    Here is the whole error message :
    eclipse.buildId=unknown
    java.version=1.6.0_11
    java.vendor=Sun Microsystems Inc.
    BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=fr_FR
    Command-line arguments:  -os win32 -ws win32 -arch x86
    Error
    Fri Jan 29 15:37:23 CET 2010
    An internal error occurred during: "default_report  org.eclipse.mat.api:suspects".
    java.lang.AbstractMethodError: com.sap.tools.memory.netweaver.csn.CSNComponentExtractor.resolveByClassLoader(Lorg/eclipse/mat/snapshot/model/IClassLoader;Lorg/eclipse/mat/util/IProgressListener;)Ljava/lang/String;
    at org.eclipse.mat.inspections.LeakHunterQuery.getTroubleTicketMapping(LeakHunterQuery.java:558)
    at org.eclipse.mat.inspections.LeakHunterQuery.appendTroubleTicketInformation(LeakHunterQuery.java:701)
    at org.eclipse.mat.inspections.LeakHunterQuery.getLeakDescriptionSingleObject(LeakHunterQuery.java:382)
    at org.eclipse.mat.inspections.LeakHunterQuery.getLeakSuspectDescription(LeakHunterQuery.java:215)
    at org.eclipse.mat.inspections.LeakHunterQuery.execute(LeakHunterQuery.java:148)
    at org.eclipse.mat.query.registry.ArgumentSet.execute(ArgumentSet.java:129)
    at org.eclipse.mat.query.registry.CommandLine.execute(CommandLine.java:93)
    at org.eclipse.mat.report.internal.QueryPart.execute(QueryPart.java:96)
    at org.eclipse.mat.report.internal.SectionPart.execute(SectionPart.java:53)
    at org.eclipse.mat.report.TestSuite.execute(TestSuite.java:127)
    at org.eclipse.mat.report.internal.RunRegisterdReport.execute(RunRegisterdReport.java:50)
    at org.eclipse.mat.query.registry.ArgumentSet.execute(ArgumentSet.java:129)
    at org.eclipse.mat.ui.QueryExecution$ExecutionJob.run(QueryExecution.java:174)
    at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
    Could you please give me some advice ?
    Thanks
    François

    Hi,
    Sorry for not updating the question. We (the tool developers) are aware of the problem and we have fixed it already (internally). However we still have to prepare the proper downloadables for the SDN site and change the content available at SDN.
    About using onother tool - you probably don't need to: one can still use the tool without the NW extensions (just take it from http://www.eclipse.org/mat/).
    The Leak Suspects report is part of the open-source tool (see http://dev.eclipse.org/blogs/memoryanalyzer/2008/05/27/automated-heap-dump-analysis-finding-memory-leaks-with-one-click/).
    Without the NW Extensions one won't see the application names extracted out of classloaders, there will be no suggestions for CSN components, and some other SAP specific queries will be missing. Nevertheless it should be still possible to perform memory analysis.
    I hope this helps to some extent for the moment.

  • 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

  • SHARED MEMORY AND DATABASE MEMORY giving problem.

    Hello Friends,
    I am facing problem with EXPORT MEMORY and IMPORT MEMORY.
    I have developed one program which will EXPORT the internal table and some variables to the memory.This program will call another program via background job. IMPORT memory used in another program to get the first program data.
    This IMPORT command is working perfect in foreground. But  it is not working in background.
    So, I have reviewed couple of forums and I tried both SHARED MEMORY AND DATABASE MEMORY.  But no use. Still background is giving problem.
    When I remove VIA JOB  parameter in the SUBMIT statement it is working. But i need to execute this program in background via background job. Please help me . what should I do?
    pls find the below code of mine.
    option1
    EXPORT TAB = ITAB
           TO DATABASE indx(Z1)
                FROM   w_indx
                CLIENT sy-mandt
                ID     'XYZ'.
    option2
    EXPORT ITAB   FROM ITAB
      TO SHARED MEMORY indx(Z1)
      FROM w_indx
      CLIENT sy-mandt
      ID 'XYZ'.
       SUBMIT   ZPROG2   TO SAP-SPOOL
                      SPOOL PARAMETERS print_parameters
                       WITHOUT SPOOL DYNPRO
          *_VIA JOB name NUMBER number*_
                       AND RETURN.
    ===
    Hope every bidy understood the problem.
    my sincere request is ... pls post only relavent answer. do not post dummy answer for points.
    Thanks
    Raghu

    Hi.
    You can not exchange data between your programs using ABAP memory, because this memory is shared between objects within the same internal session.
    When you call your report using VIA JOB, a new session is created.
    Instead of using EXPORT and IMPORT to memory, put both programs into the same Function Group, and use global data objects of the _TOP include to exchange data.
    Another option, is to use SPA/GPA parameters (SET PARAMETER ID / GET PARAMETER ID), because SAP memory it is available between all open sessions. Of course, it depends on wich type of data you want to export.
    Hope it was helpful,
    Kind regards.
    F.S.A.

  • Correct version of Memory analyzer

    HI
    I have installed the memory installer from https://www.sdn.sap.com/irj/sdn/wiki?path=/display/java/javaMemoryAnalysis&.
    And I have also gone through the 10 min video course available at
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/f0a5d007-a35f-2a10-da9f-99245623edda.
    But when I try to do the same analysis that what they explained in the video course, I found that options are not available in the tool that I downloaded. Could you plz advise where can I get the correct version of the tool or video course ??
    Thanks
    kumar

    Hi Kumar,
    you have downloaded the latest version of the tool. It is the video tutorial that is a little bit out of date. Most of the features are available in the current version of Memory Analyzer, but the menues and toolbar buttons might look different (e.g. the icons were replaced).
    If you list the functions you are missing (cannot find) - I will guide you how to find them.
    Best Regards,
    Elena.

  • How to use memory analyzer On Virtual Machines

    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

    I don't know. I've never tried.
    Look at the manual (7210midpSimGuide.pdf in the docs directory). Maybe there is something in there. In the command line options there are a bunch of tracing options that you can specify, like tracing allocations, garbage collections, stackmaps, etc.
    shmoove

  • Use of SAP memory to transfer data between two different sessions.

    Hello experts,
    I wish to know how to use SAP memory to transfer data between two different sessions.
    The scenario is that when I run a report and change a variable, the value of changed variable should be availabe to another user on another terminal.
    Thanks & Regards!
    Sumit

    Hello,
    Just to add what Max has already mentioned. IMPORT TO / EXPORT FROM DATABASE statements can be used to store data in special "cluster" tables (you can't use any DDIC table) e.g., INDX.
    @OP: You can opt for Shared Memory(SHM) for this specific requirement as well. In my opinion SHM is a bit tricky to code, but it is easier to monitor. The opposite holds true for "data clusters".
    You should remember SHM is app-server specific. So if you've a load balancing scenario, using SHM can cause problems.
    Hope i'm clear.
    BR,
    Suhas
    Edited by: Suhas Saha on Nov 19, 2010 4:12 PM

  • [Memory Analyzer] OutOfMemoryErrors on computing paths to GC roots

    First off I find the Memory Analyzer's indexing technique really great, as it makes opening heapdumps way faster than "traditional" approaches.
    However, when I try to find the paths to GC roots in a 2GB heap dump, I always get OutOfMemoryErrors even with a 3GB heap size of the analyzer. No need to say that this is feasable without problems using other products such as YourKit.
    I'm running the Memory Analyzer on 64bit Linux with Eclipse 3.3.1.
    Thanks for any hints!

    Hi,
    First thanks for the nice words about the indexing.
    As for the problem - in general finding paths from the GC roots is not a problem and I've done it many times on bigger dumps, e.g. 6Gb. So, I guess it is a more specific problem, which needs to be investigated.
    Do you think it will be possible for me to download a zip with any of the heap dumps - the 2gb dump you try to analyze, or a heap dump of the Memory Analyzer which got an OutOfMemory?
    Also, can you give me some more details about the problem - are you having this problem on any object, or on some specific ones? If there are specific ones - can you check by the incoming references who is referencing them? Is it for example a long linked list structure, or the finalizer queue, etc...
    If you prefer, you can also write me an e-mail (it is listed on the Memory analyzer Wiki page).
    Regards,
    Krum

  • How do I report a major memory leak problem with Firefox 3.6.10 in WinXP?

    After I installed Firefox 3.6.9 on a WinXP desktop, I occasionally had minor memory leak problems, reflected by getting "out of virtual memory" messages. I upgraded to 3.6.10 when notified that it was available and that it supposedly fixed stability problems. Ever since then, whenever I use Firefox, it starts out quick as a flash, but very rapidly slows down to a crawl, and has twice brought my system to a halt. IE does not cause this, nor any other program I use, but the execution speed of all programs slows as badly as Firefox. If I knew where to get older versions, I would back up to 3.6.9 or earlier. The situation now prevents me from using Firefox much at all.

    Im running windows 7, Firefox 3.6.10 and before i updated to 3.6.10 my CPU never went above 10% with Firefox open. Now it can spike well above 50% and i have nothing different from when i had 3.6.9 to now when i have 3.6.10.
    There is no evidence for me to suggest one of the additions i have is causing it, its all pointing to Firefox itself and the last update.

  • SAP R/3 Problem

    I need some detail solutions and suggests about below these problems [SAP R/3] :
    Problem 4: Problems in the installation of SAP R/3 Server
    • Problem 4.1: Computer Name of the SAP R/3 server has been changed after the full installation of Oracle 9i and SAP R/3.
    • Problem 4.2: A network card of a server was faulty and it was replaced by a new network card but the SAP R/3 license was expired.
    • Problem 4.3: You would like to reinstall SAP R/3 on a server which has previously installed with SAP R/3 but the same error message appears during the re-installation.

    HI,
    I don't know the answer to your questions, but these are more of a SAP Baisis question.  I would suggest posting this question on the Basis forum.
    Naing

Maybe you are looking for

  • Is there a border component in the latest sdk build??

    hey guys... im trying to use the spark border component and its giving me an error in the latest sdk... the one im using right now is 4.0.0.13210 the code i have is <s:Group xmlns:fx="http://ns.adobe.com/mxml/2009                xmlns:s="library://ns

  • Import consuming so much memory, resulting in system hang

    I am having a dump file of around 13GB in size. When I try to import it, then import starts normally & after sometime the memory consumption of imp.exe increased dramatically. After import of few tables the import fails with following error: kgefec:

  • Premiere Pro CC 2014.2 not stable on my system

    Mac OS 10.10.1 I am having problems with Premiere Pro CC 2014.2 that make it almost unusable on my system. All other software, including AE, Audition, Prelude, Photoshop etc. working well. The symptoms, which are not specific to any one project - but

  • The "Birth Year" field in Birthday

    I don't know about you guys, but who over 30 gives out their birth year? I have hundreds of birthdays but l only know the birth year for those of my immediate family. Why the heck is this a required field? Is is possible to turn it off? What do you d

  • I want to uninstall firefox in Windows 7

    I used install/uninstall in Windows 7, but it did not work.Foxfire has become my default broswer without my permission and has removed my home pages in other brosers. I want to uninstall Foxfire.