How to test the memory..?

Hi friends.. Iam created java application Multithreaded socket server... I need to check the size of the memory of before and after execution of the program..... Is there any tool for memory debugging......?thanks in advance.....

You can check continuously during operation using JVMStat from Sun. It's a beautiful tool that will show you the entire memory model: eden and perm spaces, etc. Very nice UI.
%

Similar Messages

  • How to define the memory leak in stability test

    Hi
    Usually, we run our system with 70% CPU load for 72 hours for stability test (on solaris 10), because some plugin of our system is using mtmalloc, and we use prstat to monitor the memory of each plugin. But because of the complex memory usage of our application, we don't know when the application will use the Max memory, and because of the "mtmalloc", the memory showed by "prstat" will not released but continually increased.
    So fro the test point of view, there is the risk of memory leak, but actually, there may be no memory leak, so my question is how to define the memory leak in such condition.

    kevin wrote:
    Thank you for the input and all the info.
    isn't java heap the same as memory allocated to the java process in my weblogic
    starup script ?The heap is sized by the -Xmx and -Xms parameters you pass on the java
    command-line. The permanent generation is separate.
    >
    let me also download jprobe and try to run it and see what it gives me.
    I'd start by running with -verbose:gc. I'd want to know whether you're
    running out of heap or permgen space.
    -- Rob
    kevin
    Rob Woollen <[email protected]> wrote:
    Unfortunately memory leaks are not fun to track down even with tools.
    I'd first suggest determining whether you're running out of space in
    the
    permanent area (where classes are loaded), or you've exhausted the java
    help space.
    I'd start by adding -verbose:gc. Look at the gc messages right before
    you hit the OutOfMemoryError. If there's plenty of space left, I'd
    suspect you're running out of perm space. Search these newsgroups and
    the web for MaxPermSize, and you should see plenty of info.
    If you're running out of java heap, tools like jprobe and OptimizeIt
    are
    helpful. If you can tell me a little more about your application and
    how you're testing it, I can offer some more tips.
    -- Rob
    kevin wrote:
    Iam new to JAVA and weblogic. I have an application that runs out ofmemory time
    and again.
    please let me know how to pin point this problem and moreover, howto interpret
    or understand that there is a problem. I have downloaded JPROFILE tool,but it
    is very confusing to understand what is goin on in this tool.
    If somebody can let me know how to interpret and understand the memoryleak, that
    will be great !!!
    thank you.

  • How to overcome the Memory leakage issue in crystal report 2008 SP2 setup.

    I have developed the small windows based application tool with help of  Visual studio 2008 for identify the memory consumption of crystal report object. It helps to load the crystal report objects in the memory and then released the object from the memory. The tool simply does the u201CLoading and Unloadingu201D the objects in the memory.
    The tool will be started once u201CTest_MemoryConsumption.Exeu201D executed. The u201CTest_MemoryConsumption.Exeu201D consumes u201C9768 KBu201D memory before load the crystal report object in memory. It means, 9768 KB is normal memory consumption for run the tool.
    Crystal report object initiated by the tool and object help to load the report in memory once the tool initiated the crystal report object. Now u201CTest_MemoryConsumption.Exeu201D consumes u201C34980 KBu201D memory during the crystal report object creation and report load process. The actual memory consumption of crystal report object is 34980u20139768=u201C25212u201DKBu201D. 
    The memory consumption u201C34980 KBu201D will be continued till the end of the process. The memory consumption will be reduced to u201C34652 KBu201D from u201C34980 KBu201D once report load process completed. It means, u201C328 KBu201D memory only released from the memory consumption. Tool enables the Release command for the crystal report object. But crystal report object does not respond to the command and will not release his memory consumption.
    The memory consumption u201C34652 KBu201D will be stayed in the memory once job ends.  If i again initiate the crystal report object then it crystal report object start to consume the memory from 34652 KB.
    Database objects and crystal report objects are properly used in the tool. The object release commands properly  communicated to crystal report setup. But the u201CCrystal report service pack 2u201D setup unable to respond the commands which has enabled from .Net Tool.  Crystal report objects are properly initiated and disposed in the tool. But the crystal report unable to release from the server.
    The memory consumption will be reduced once the server restarted or kill the application.
    Crystal report 2008 and crystal report 2008 SP2 setup available in the server.
    Microsoft .Net Framework 2.0 SP2, Microsoft .Net Framework 3.0 SP2 and Microsoft .Net Framework 3.5 SP1 are available in the server,
    Could you please suggesst how to avoid the memory consumption keep increasing and  how to release the memory consumption  once the crystal object disposed???

    Hi Don..
    My case is different one. I hope, the problem with Run time Installation setup file (Crystal report 2008 Serivce Pack2 installer) which we installed in the server.
    Let me explain with Live scenario which our client faced in crystal report 2008 Service pack2 Installer.
    Our client is using a application to help to print their reports. The application is developed with Windows service.
    Windows service keep on running in the server. Windows service executes the client 's crystal reports( Labels Report, Stock  report) which designed for clients need and the reports will be printed from printer. 
    10 Same type report (Label Report) will be printed in 1 minute. Reports are not printing during non business hours. But the windows service keep on running.  Memory cosumption of application will be 160 MB in business hours.
    For Example, On Monday the application memory consumption starts with 160 MB. The Memory consumption will be reached 165 MB  in peak business hours. Then the memory will be ended in163 MB in the End of Monday. It means, The memory consumption will be in 163 MB during the non business hours. Reports will not be printed in non business hours.
    On Tuesday, the application memory consumption starts with 163 MB and it will be reached 168 MB during the peak hours. The Memory consumption will be ended in 165 MB in the end of Tuesday.  The same process contiues till friday. End of friday, the memory consumption of the application will be ended with 170 MB.
    Application Memory Consumption slowly increasing in the server. In 5 days, Memory consumption reached Threshold value (170 MB) of the server. Application gets hanged up once the memory consumption reached 170 MB. We got the error messages as "Attempted to read write protected memory " / "Not Enough memory for process".  If we restart server / If we restart the service then memory consumption of application get reduced to 160 MB.
    From the above scenario, We came know that the either the problem with Application object or the problem crystal report object. In the application, We have checked dispose methods of application objects completly. I am sure that  application objects are properly disposed in the application. I hope the problem not with application objects. The problem with Crystal report objects.
    Application properly communicates the dispose methods to crystal report objects. Crystal report objects are not released from
    the memory.
    Crystal report 2008 Serive Pack 2 setup installed in the server. 
    As you said, If Crystal report runtime is not released from memory then memory consumption keep increase???  In service oriented architecture application, how to unload the crystal report runtime??
    Do you any fix for this kind of issue??
    Willl Crystal report 2008 service pack 3 help on this issue??

  • How to test the payload in XI

    Hi all,
    could please explain how to test the payload in xi and with steps.
    Thanks in advance,
    Radhika

    Hi Radhika,
    You can test in three ways.
    1.)  In message mapping directly give the relevant data and then execute.  Here you can test whether the mapping is correct or not.
    2.)  In Integrstion Directory after completing and activating  the Configuration,  in tool you can find the Test Configuration tab. There you can give the sender and receiver details along with payload. Here you can test whether the Configuration is correct or not.
    3.)  In RWB in COmponent monitoring.  Select the Integration Engine Monitoring. Here give the sender and receiver details, Interface name, name space, Quality of service.
    Now give user name and pass word.
    Paste the payload from massage mapping and then press test tab.  Here yoyu can directly send the message from XI server to the receiver system.
    Ok,
    Jeevan

  • How to test the rule if multiline container is passing to the task?

    Hi Experts,
                      I am working on leave workflow. I have to get the approvers based on no of days of leave and leave type. I am getting these details in ITEMS_TAB internal table. I am passing this table to a rule. Now my problem is when I tried to simulate the rule I am not getting any input screen to enter the data.
    ITEMS_TAB is an internal table type of   "PTREQ_ITEMS_WF_TAB_FLAT".
    In the rule I have created a container by selecting the radiobutton "ABAP Dict. Data Type" and entered the above reference parameter is it right way?
    Is it possible to test the rule independently if I use multiline container as import parameter in my rule?  If so can anybody please tell me how to test the rule?
    Thank You.
    Srija.

    Hi Pavan,
                     Thank you.
                     To copy the values I am not getting any input screen to input the values. I observed one thing that the type that I am referring in the Rule is a deep structure. Is this is the reason that I am not getting the input screen to enter the values?
    I tested by creating aother rule by taking a field for that rule I am getting the input screen to simulate the Rule.
    Can you please suggest if the rule will not work then what I have to do? without the rule how can I get the agents?
    Thank you.
    Srija

  • How to enable the memory remapping in the bios?

    How to enable the memory remapping in the bios?
    my laptop: m100 psmaaq-00s003

    Without removing a specific Windows Update KB Patch, and two registry keys, you CANNOT uninstall the Flash Player ActiveX Plug-in for IE in Win 8.
    Microsoft released a new update for Flash Player in IE just the other day.
    Have you run Windows Update recently?

  • How to test the PMS/apprisal template

    Hi experts,
    We have completed the configuration of Apprisal templete.
    With OOHAP_BASIC,PHAP_CATALOG_PA we have completed the process along with status and substatus,staus flow.
    I struckup at this juncture.
    How to test the entire process after the configuration.
    Please advice.
    Regards,
    Sairam.

    Hi Sairam,
    To test the PMS process, please follow the below steps :
    1. Go to PHAP_CREATE_PA and select your template. Enter the details for appraisee, appraiser, reviewer ( if applicable ) and also the start date and end date. Save the document.
    2. Go to PHAP_ADMIN_PA and select the template/appraisee id in the appraisee column in the selection screen and execute. Select your appraisal document and then select from Menu- Appraisal Document->Change Status and select your initial status and sub status.
    Now you can login to Portal/R3 with the user and start testing. The substatus will move automatically based on your workflow. Once you complete a particular status say 'In Planning' you need to manually change the status again from PHAP_ADMIN_PA to 'In Review'.
    Get back to me in case of any queries.
    Regards,
    Sachin

  • How to test the connection between DSD backend and DSD connector

    Dear all,
    I am configuring the MDSD scenario .. and i want to insure that my customization is correct
    How to test the connection between DSD Backend and DSD connector ??

    Hi Viren,
    The problem is:
    We have a new BW system. The basis people asked me to check the connection between this BW system and the R/3. There is only one client for now(100). I have logged into 100 and tried executing RSA1 to check the connection, but it gave a message box saying "You can only work in Client 000". Then I have treid logging into 000(just to make sure) and tried executing RSA1. Even here I got a message saying "The SAP BW system must not be operated in client 000". Now, I am not sure of what is wrong in clien 100. I am not sure if I have to do some settings before I access RSA1 or any other BW transaction. Could you please help me in this.
    Also, I just checked the RFC destinations in BW. There is a destination created for our R/3 and I have noticed that they have given a remote UserID and password for remote login. I tried to check the Remote UserID in SU01 but there is no userID with that name. Could this be a problem?
    Thanks,
    RPK.

  • How to test the modified script (Global Dunning)

    Hi all,
    I have a requirement in SAP Script.
    I had modified Global Dunning Letter F150_DUNN_01 and the print program is SAPF150D2.
    Transaction code is F150.
    How to test the script and what is the access path for checking print preview of the modified form.
    Do i need to configure anything before testing.
    Rewards to all.
    Thanks & Regards,
    Aarthi.

    Hi
    Your functional consultant will help you to trigger the output of this dunning output
    or search in SPRO tcode
    o in the related tcode F150
    <b>Reward points for useful Answers</b>
    Regards
    Anji

  • How to test the data

    Hi,,
    The below test data is for SD report which do the monthly batch transfer from Annexure to F-form
    Can you please help me how to test the data? and prepare the unit test case.
    1. Intra-plant movement of inventory between two plants with the same region Code -  In India there are two plants in the state of Maharashtra.
    Plant 8600 (Vendor 10999346) -> Plant 8601 - MM# 1003623 / 1013515 / 5214135 / 8788143
    NB PO# 6500002231 / ZU PO 4600000500
    2. Intra-plant movement of inventory from Plant 8650 - Goa to one Depot Plant
    Plant 8613 (Vendor 10999359) -> Plant 8618 - MM# 1003623 / 1013515 / 5214135 / 8788143
    NB PO# 6500002232 / ZU PO 4600000501
    3. Intra-plant movement of inventory between two Parts plants.
    Plant 8650 (Vendor 10999344) -> Plant 8601 - MM# 4908281 / 4908323 / 4908968 / 4922001
    NB PO# 6500002233 / ZU PO 4600000502

    Please  go thorugh this  ...
    eCATT stands for extended Computer Aided Test Tool (eCATT) which is built is testing tool to test SAP system. By using testing tool we can test the entire business process, and we can also use this tool with a third party testing tool (I am not covering this topic). Execution of every test script ends with a log, which explains the results of the test script. 
    By using eCATT we can do following operations,
    ·        Test transactions, reports, and scenarios
    ·        Call BAPIs and function modules
    ·        Test remote systems
    ·        Check authorizations (user profiles)
    ·        Test updates (database, applications, GUI)
    ·        Test the effect of changes to customizing settings
    ·        Check system messages
    For more information go to: eCATT::Extended Computer Aided Test Tool (sdn.com)
    Here I am discussing fundamentals about eCATT in detail. You can find very good documentation in sdn.com.
    To develop a test script in eCATT we need to follow the following steps,
    1. Creating Test Scripts.
    2. Creating Test Data Containers[16] .
    3. Understanding System Data Containers[17] .
    4. Executing Test Configurations.
    There is a very good web blog on eCATT in sdn.com which explains eCATT with necessary screen shots. To read document click here Blog on eCATT in sdn.com
    For  details  and the screenshots     please  see the  link
    http://www.erpgenie.com/sap/ecatt/
    Reward  points if it is  usefull ...
    Girish

  • How to Test the individualmapping field and conditions...

    Hi Frnds,
    I done mapping from source to destination as per tech spec in my scenario based on some conditions
    i used node functions also..
    But my question is how to test the every mapping filed , condition is correct or not, what i used node function working properly or not...
    Regards,
    Raj

    Hi
    If you want to check mapping for individual mapping then in design go to test tab and put your data there and then come again on Design tab and click on any target field fro which you want to check mapping then right click on target field in mpping area and click on Display queue and check whether it is expected output for that particular field mapping.
    Regards
    Sami
    Reward points if useful.

  • How to test the performed  SAP SCRIPT

    Hi friends can any one help for
    how to test the performed  SAP SCRIPT. What are the necessary codes or anything else for performing it

    Praveen,
    Can you be much clear with your query? What do you mean by performing? Do you mean how to execute it ?
    Regards,
    Vinod.

  • How to test the UDA or Attribute of an ancestor member

    Hi everybody !I would like to know how to test the UDA or attribute (I can use both) of the ancestor (or the parent of the parent) of the current member please ?(the current member is on level 0 et the ancestor is on level 2).I tryed some syntax but any result :(Thanks very much for your help... JaspePS : Sorry for my "bad" english, i'm french...

    You can try using this IF conditional statement:if (@count (skipnone, (@uda (dimName, myUDA) and @ancest (@currmbr (dimName), -2))) == 1)where:dimName is the dimension of the level 0 member you are testingmyUDA is the UDA you are testingWhat this does is it counts the number of members that meet two criteria. First, it must have the UDA you specify and, second, it must be an ancestor of the current member at a specified level.If the current member has a level 2 ancestor with the UDA, it should return one member.

  • How to test the adapters

    hi
    anybody can tell me how to test the adaptors?
    regards,
    krushi

    Adapter Monitoring:
    Steps:
    1. Go to RWB.
    2. In the Component Monitoring Select Adapter Engine
    3. Select the Adapter Monitoring Tab.
    Using this window u cam monitor
    >> Installed and Started Adapters
    >> Adapters with Error and
    >> All the Adapters
    Uses:
    >>The name of the server on which the selected Adapter Engine was deployed. This can be a server cluster consisting of several nodes.
    >>The namespace in which the adapters shipped by SAP are located. If you have created additional namespaces for your own developments or for third-party adapters, these are also displayed.
    >>A list of all the adapters available for the selected Adapter Engine. Adapters that are not installed and started, or not registered with the Adapter Framework are GRAYED out. You can select all the other adapters to display additional information. i.e U can see all the Adapters.
    If all the adapters are working then it will be displayed in GREEN.
    If not then it will be displayed in RED.
    If U are not using the adapters in ur scenarios then it will be GRAYED out.
    Remember to set the thread to solved when you have received a solution
    Use a Good Subject Line, One Question Per Posting - Award Points

  • How to test the process chains

    hi sap gurus,
    Can anybody tell me how to test the Process chains before i load real time data,i run process chains every morning 6.15 am,before that i want to test every process is linked to another.
    thanks in advance.

    Hi,
    Scheduling the process is the only way to check whether it is running fine or not. The process chains should be checked first in the Dev server and then in the QA server before transported to Prod.
    You can also check the process chain using the "check" button to see if the processes are in the proper sequence or not.
    There is a "log" button to keep track of the progress of the chain
    suresh

Maybe you are looking for

  • Sql upgrade 2000 to 2005 post processing error

    Dear People, I have successfully upgraded sql from 2000 to 2005 and im doing the post processing steps for upgrade using the sql tool and im getting error at the step " creare sap stored procedure" .im pasting the error messages below. <b>dev_w0</b>

  • Iphone 5 battery replacement problem.

    The battery for my iPhone 5 needs to be replaced. It's been showing the red needs charging sign for over a week now, and even after I left it charging for over a day it didn't start. I was looking through similar complaints and I was more than sure i

  • ALV Standard Layout with problem for excel download

    Hi, i have a alv grid report with this problem: I execute the report and see all data ok. chose the download option to spreadsheet. *When open the spreadshet only see headers and no data. The report have a standard Layout with 4 of 12 column selected

  • Sorry, but I can't find playlist answer in discusssions

    I want to create Movie playlist in Apple TV. Example: I have ripped my Fantasia 2000 DVD and seperated all the animation sections into seperate movies. I have placed them in order in a playlist named Fantasia 2000 in iTunes. I synced them to my video

  • Setup e-mail

    I AM HAVING TROUBLE SETTING UP MY YAHOO E-MAIL ON MY BLACKBERRY STORM, PLEASE SOMEONE HELP.