Heap dump has been added later after 3.0.0 (3.0.4 will have it).

Use jmap to create the heap dump:

jmap -dump:file=heapdump pid

where pid is the Karaf PID.

Regards
JB

On 07/01/2015 02:05 AM, Srikanth Hugar wrote:
It worked.

Some permission issues.

But i cannot find heap dump data. Only thread dump is collected.

How do i get the heap dump?

Srikanth Hugar
www.gharki.com <http://www.gharki.com>



On Wed, Jul 1, 2015 at 5:22 AM, Srikanth Hugar <[email protected]
<mailto:[email protected]>> wrote:

    Error i get is :

    Error executing command: Unable to create dump destination


    Srikanth Hugar
    www.gharki.com <http://www.gharki.com>



    On Wed, Jul 1, 2015 at 5:20 AM, Srikanth Hugar
    <[email protected] <mailto:[email protected]>> wrote:

        dev:dump-create is not working, do we need to install any
        feature or bundles to make it work?

        I am using karaf 3.0.0.

        Srikanth Hugar
        www.gharki.com <http://www.gharki.com>



        On Tue, Jun 30, 2015 at 10:12 AM, Jean-Baptiste Onofré
        <[email protected] <mailto:[email protected]>> wrote:

            Hi Srikanth

            dev:dump-create

            Regards
            JB


            On 06/30/2015 12:50 AM, Srikanth Hugar wrote:

                Hello,

                     I am using karaf 3.0.0 and wanted to collect thread
                dumps & heap
                dumps to analyse some performance issues.

                wanted to know how to create heap dump and thread dump
                from karaf.

                I checked the link
                
http://karaf.apache.org/manual/latest/developers-guide/developer-commands.html
                , but dev:create-dump command is not found. which
                feature the command is
                part of ? how do i install it?


                Best Regards,
                Srikanth.


            --
            Jean-Baptiste Onofré
            [email protected] <mailto:[email protected]>
            http://blog.nanthrax.net
            Talend - http://www.talend.com





--
Jean-Baptiste Onofré
[email protected]
http://blog.nanthrax.net
Talend - http://www.talend.com

Reply via email to