JVM Debug Tool

Hello every one ...
I am new to Java......I need help ...
Is there any way that we can see whihc all Clasess / Objects are occupying JVM ? Is there any command line tool .....
If yes please let me know because i am in big trouble ...
I am running 4 JVM instances ... on server i am having .... huge JSP/Sevlets ..... after start the JVM around one hour or so if i see JVM memory Size and Physical memory it is just goes decreasing and it result to crash JVM .....
Same thing creates problem to my Sun - System it is goes occupying SWAP area more more .... and result is Core Dump file ..... so i want to know ... why JVM is using so much memory .. please let me know .....
I tryed with Hprof utility too ..but it is really difficult to understand ... so please help me
thanks and regards

I dont think that any console tools can help you in this matter. There are certain utility tools for windows platforms that can help you to find out
1. Which classes occupy the memory
2. Where does the processor spend most of its time
For example nro. 1 tools are like OptimizeIT and JProbe. With JProbe you can also take care of the nro. 2 type of debugging. Perhaps with optimizeit too.
Dont know though if they provide them for solaris too. could think so because they are all-java programs. Check them out.
Janne

Similar Messages

  • Debugging tools in SAP Enterprise portal

    Hi All.
    I need to find the debugging tools which can be used on the enterprise portal..
    I had heard about Log watch tool.. How to use this tool?
    Is it software do i need to deploy that dc or how to move further?
    What is the best debugging tool for the portal? what are the other options
    Thanks
    Shravan

    Hi,
    Log Watch is basically a tool which helps you to analyze the trace or logs generated for running an application. You can use the tool by running the application com.sap.tcepcommon~logWatch , but you must have the administrator role assigned to your user id. There are also three tool which helps while troubleshooting any problem in Portal. They are Navigation Reporter, Navigation Debugger, Diagnostic Tool.
    Please have a look into the below URL about the tools and details of debugging in Portal.
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/6035b020-73e3-2910-5496-82d900355947?quicklink=index&overridelayout=true
    Thanks
    Shankha

  • XI Debugging tool in the Configuration -Integration Builder

    Hello to XI Experts, 
    I an testing the XI Debugging tool in the Configuration -Integration Builder
    Menu Path is :  Tool->Test Configuration. 
    It is simple Idoc to Flat File Mapping and it gets executed .
    However when I test it using the Test Configuration I am getting following error below.
    Internal Error
    HTTP connection to ABAP Runtime failed. Error: 403 Forbidden URL: http://dellsaperp:8050/sap/xi/simulation?sap-client=100 User: XIDIRUSER
    There is no problem with mapping as it is getting executed  .I am unable to make the Test Configuration work.  Do we need to do any configuration to make this transaction work? Any clue? 
    Regards,
    Prashanta Ghosh

    Hi Prashanta -
    In TC SICF, make sure the <i>simulation</i> service is activated.  Path should be <i>default_host/sap/xi/simulation.</i>   If not, right-click on <i>simulation</i> and activate service.
    Regards,
    Jin

  • How to download the full debug tool installation file?

    HI,
    I only find the installation program for debug tools at http://msdn.microsoft.com/en-us/windows/hardware/hh852365, but this program still needs to connect to Internet for downloading the real installation files. 
    Where is the location to fully download the debug tools installation file? I don't want to download it every time when I need to re-install it.
    thanks
    Ah_Chao|| MCSE,VCP,EMCSAe

    Microsoft, in their unfathomable wisdom, removed the standalone installer of the debugging tools. Now it seems to be available only in the SDK or WDK. So go get one of these kits (even if you do not want), locate the debug tools installer in the downloaded
    stuff and copy it to install on other systems.
    -- pa

  • Debugging Tool

    Hi Guys,
    In what version ABAP new Debugging tool called classic debugger is avilable. Is it posible to configure to SAP R/3 Enterprise version. If so help me!!!
    Regards
    Suresh Babu Karanam

    More info can also be found at
    http://help.sap.com/saphelp_nw04/helpdata/en/84/1f624f4505144199e3d570cf7a9225/frameset.htm
    Don't forget toi reward the answers with those little stars;-)

  • Debugging Tool for JSP

    Is there any debugging tool for JSP, which point out the line number where the error is. currently I am using notepad for JSP coding. It takes too much time for error finding.
    Usman

    You can use WebSphere Studio Application developer, which would probably be over kill if you are just doing JSPs because it does so much more. You may want to look at its open source verison eclipse at eclipse.org.
    Good Luck,
    J.Clancey

  • Debug tool

    Is there any debug tool for Edge?
    Yesterday I spent 1 h to find a misspelled function call. The error I got from Chrome console was not helping at all.
    A simple message like "undefined xxx on line x" would have helped a lot. In Chrome you get just "error" and a link to a totally unreadable code block.

    There's a very simple syntax checker, but it will not find a miscalled function.  Your best bet is to use one of the web consoles, which may throw an error if you call a function that doesn't exist.
    -Elaine

  • Can you introduce an IDE debug tool for me?

    I will debug my project under Solaris OS, my project is a big one. I debuged it with DDD (Data Display Debugger) under Linux. I want to know are there an IDE debug tool under Solaris 8? Like the DDD under Linux.
    Thank you !

    Hi
    Just to add a little to Maxim's reply.
    DDD can also be built on Solaris 8 without any trouble.
    If you are using the GCC toolchain, then you may also consider using the Sun Studio 12 IDE. The compilers (cc and CC) aren't supported on Solaris 8, but the Java based IDE should work.
    Paul

  • Dreamweaver CS3 debug tools for CF8?

    Does anyone know of/have any native or 3rd party tools or
    extensions that will debug CF code (like the CFEclipse debugger)
    for DW CS3?
    Thanks,
    Rich

    If you have installed the CF8 extension for Dreamweaver CS3 (
    http://download.macromedia.com/pub/coldfusion/8/dreamweaverupdate/cf8_tags_for_dw.mxp),
    the CF8 debug tools are included.

  • Any debugging tool available??

    Hi all
    i m m new to JAVA
    and i do not have any tool to debug the program code
    so can any1 please help me in this matter by sending the tool name or the URL from which the tool can be downloaded

    jdb is a debugger than comes for free with the JDK.
    Many IDEs have an integrated debugger.
    I've heard of a graphical standalone debugger called JSwat, but I don't know if it's any good.

  • Quartz Debug (Developer Tool)

    I downloaded and tried to use Quartz Debug, a developer tool (not actually included in Xtools: I downloaded it as a stand-alone).
    My goal was to improve screen resolution on screenshots (for use in KeyNote). It seems to have corrupted my system (not sure: did a clean reinstall eventually). Has anyone had experience iwth this program? Is it safe or unsafe to use? (I assume it modifies the system: I thought it would only do a temporary modification).
    It could be that you need to download XTools first then run the program (it never responded correctly for me).
    And it could be that I should be in the Developer Forum, but I don't have permission to post in the appropriate group.
    Many thanks. JIP

    The developer's tools are on your Tiger DVD, you don't need to download them unless you want to download the update to the most recent version. The Quartz Debug tool is not part of CHUD.

  • What are tools availble for debugging a Java Program?

    Hi Friends,
    I find difficulty to find errors in Java Client in JMS.Please tell me debug tool.Please reply as earlier as possible.
    Thanks
    Bye

    Ok, it 's easy ,
    you must go to the properties of your java project that you are working on. There is a section in the property that you can import or include external jar files. By adding these jar files, you can work with them easily.
    javax.jms.jar
    jms.jar
    Have fun,
    APT

  • I need to peek inside the JVM for thrown exceptions but how?

    I have recently inherited 5 petabytes of Java code with other 86 quadrillion lines of code.
    There is an exception being thrown somewhere while this is running (under tomcat in a big loop) and I need to find out exactly where.
    The exception being thrown is not being displayed in any log file.
    Because of the multi-threaded nature of the running code, I have difficulty tracing through it with the most advanced and technically superior Java IDE on the planet.
    I was wondering if there is a way to attach some sort of monitor or debug tool to the running JVM and see if exceptions are being thrown anywhere at all during runtime and to capture them or log them - or at least see them.
    I will not be able to discover this through the code. If there is any product or utility that will allow me to debug the problem, please let me know.
    your help is greatly appreciated
    PurpleTek

    If an uncaught exception occurs, the jdk normally stops and prints out a stack trace on stderr, eg:
        Exception in thread "main" java.lang.NullPointerException
         at exception.blow(exception.java:11)
         at exception.main(exception.java:6)It sounds like this doesn't happen for you. If not, and the exception isn't displayed in any log file,
    how do you know an exception occurred? Does your app just stop? Maybe the output shown above is
    lost because of the way your app is started - ie, stderr is lost.
    Can you just run your app under jdb? jdb automatically catches uncaught exceptions. You can also use the jdb 'catch' command to catch caught exceptions. If you catch 'caught' exceptions, you will probably find that your app generates lots of them. You might want to specify which exceptions to catch and which to ignore.
    - jjh

  • Not able to debug annotation processor

    Until now, I never had to debug javac. Now that I am writing an annotation processor that gets called as part of javac, I felt the need to debug javac. I have still not found a way to do so. I tried passing the standard JVM debug options using -J option, but in vain. If you know how to attach a debugger to javac, please let me know.
    Thanks,
    Sahoo

    Sahoo,
    You can use the JSR-199 (IIRC) API to call the compiler programatically, which means you can call the compiler from a unit test, which means you just set a breakpoint in your processor, debug your test and the compiler runs and calls the processor and stops on the break point. Hickory has a package of testing tools. The core class there is Compilation which is a facade to the javax.tools API and an implementation of an in memory file manager. I have used this to have a processor load "files" via the class loader.getResource() mechanism so that should work for you as well.
    See https://hickory.dev.java.net/nonav/apidocs/index.html?net/java/dev/hickory/testing/Compilation.html
    If you browse the hickory source for the tests you'll find lots of examples.
    https://hickory.dev.java.net/source/browse/hickory/trunk/code/test/net/java/dev/hickory/

  • Can Java 1.5 diag tools be used with 1.4.2 apps?

    There are some slick debug tools now in Java 1.5... Anyone know if they can be used with 1.4.2 applications? Chris

    Thanks... what I was thinking about was that since 1.4.2 VM supports the Java Debugging Protocol, then maybe the tools that use that protocol might work when the app is running in a 1.4.2 JVM (which is the case at our customers right now).

Maybe you are looking for

  • Fire wire truble

    I have an External Isight attached to a 2ghz Intel Core 2 Duo (1gb Ram) running 10.5.3 The Isight has worked on my old G5 and this very mac before, but for some reason the camera has stopped working (little green light comes on, then clicks off) I ha

  • How to display error documents in selection screen level

    Hi,   Currently Iam doing Smartforms for journal voucher. Iam taking multiple documents as input and displaying relavent item data for each. Now, my requirement is i want to display invalid document numbers at selection screen level. For example ther

  • Open a new window when a user clicks a button

    Hello!! I have the following problem, I have a table with a button, and when the user clicks the button, I want to open a new window, I don't know how to set the button so that it opens another window... Does anybody have an idea of how to do this??

  • Can't connect Apple Tv 3 To Wireless - "There was a problem.... (-369033213)

    Having a problem connecting and Apple Tv 3 (IOS 7.0.1) to our wifi at work. Create a profile using Apple Configurator, with Wifi settings; Service Set Identifier <NAME OF WIRELESS NETWORK> WPA2 Enterprise, Protocols set to PEAP and the username and p

  • Mpdviz not compiling

    https://aur.archlinux.org/packages/mpdviz/ When trying to compile, I get ==> Making package: mpdviz 0.4.1-1 (Wed Feb 12 20:04:36 EST 2014) ==> Checking runtime dependencies... ==> Checking buildtime dependencies... ==> Retrieving sources... ==> Extra