Hi all,

after testing jhat API, i had realize it is bit slow. it took almost 5sec
to parse carbon memory dump(size: 119 mb) will it be a problem to use it in
test automation process ??

thanks.

On Fri, Jan 30, 2015 at 12:58 PM, Buddhi Senarathna <[email protected]>
wrote:

> thanks for the opinion.
>
> On Fri, Jan 30, 2015 at 12:55 PM, Krishantha Samaraweera <
> [email protected]> wrote:
>
>> Hi Buddhi,
>>
>> 1. Write a programe which cause memory leak and try to identify the exact
>> class with instance count. You can write a classes to simulate different
>> memory leak situations e.g Thread Local Variables
>> 2. Get the percentage of heap memory occupied by each instance.
>> 3. Take a Heap dump programatically and analyse it to find memory leaks.
>> 4. Try to identify heavy objects in memory.
>>
>> Thanks,
>> Krishantha.
>>
>>
>>
>> On Fri, Jan 30, 2015 at 11:47 AM, Buddhi Senarathna <[email protected]>
>> wrote:
>>
>>> Hi krishantha,
>>>
>>> If i'm writing an unit test for this how should i do that and what are
>>> the requirements?
>>> expecting your opinion.
>>>
>>> thanks.
>>>
>>> On Thu, Jan 29, 2015 at 8:59 AM, Buddhi Senarathna <[email protected]>
>>> wrote:
>>>
>>>> hi all,
>>>>
>>>> currently i'm working on creating a test framework utility tool to get
>>>> memory dump of a remote VM and analyze.
>>>>
>>>> i'm thinking of using JMX APIs to get memory dump and jhat API to
>>>> analyze it.i'm able to use OQL(object query language) to retrieve
>>>> information from the dump file.
>>>>
>>>> getting memory dump of remote VM is almost finished and analyzing part
>>>> is ongoing.
>>>>
>>>> Thanks.
>>>>
>>>> --
>>>>
>>>> *Buddhi Chathuranga Senarathna*
>>>>
>>>>
>>>> *InternWSO2, Inc. *
>>>> *Mob: +94 755 446 685 <%2B94%20755%20446%20685>*
>>>>
>>>
>>>
>>>
>>> --
>>>
>>> *Buddhi Chathuranga Senarathna*
>>>
>>>
>>> *InternWSO2, Inc. *
>>> *Mob: +94 755 446 685 <%2B94%20755%20446%20685>*
>>>
>>
>>
>>
>> --
>> Krishantha Samaraweera
>> Senior Technical Lead - Test Automation
>> Mobile: +94 77 7759918
>> WSO2, Inc.; http://wso2.com/
>> lean . enterprise . middlewear.
>>
>
>
>
> --
>
> *Buddhi Chathuranga Senarathna*
>
>
> *InternWSO2, Inc. *
> *Mob: +94 755 446 685 <%2B94%20755%20446%20685>*
>



-- 

*Buddhi Chathuranga Senarathna*


*InternWSO2, Inc. *
*Mob: +94 755 446 685*
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to