You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by Chathura Herath <ch...@gmail.com> on 2005/12/16 19:36:55 UTC

[Axis2] Memory usage

Hi devs,
I could find a little bit of time to run a profiler on Axis2 i have
attached a html of the memory usage. THis is the snapshot when the
Axis2 crashes because it ran out of memory.

The garbage collection of the Message contexts are not happening
properly and this could indeed our main problem which leads to massive
memory build up. There is a heavy usage of Hasmaps too, I am not sure
whether all of them are necessary.
I will try to put some time into this.

Comments/help is appreciated.

Thanks
Chathura
--
Chathura Herath
http://www.bloglines.com/blog/chathurah


--
Chathura Herath
http://www.bloglines.com/blog/chathurah

Re: [Axis2] Memory usage

Posted by Chathura Herath <ch...@gmail.com>.
Hi,
Nice to hear that we are working on this already.

Ajith. I am afraid the profiler is propriotary and i am using the
evaluation:(. So cant check it in. I wonder they will be generious to
give a license to Apache like IntelliJIDEA did.

Thanks
Chathura

>
> Eran is working on this .. we should have it fixed this week. We've done
> a poor job of making stuff gets taken off the tables they find
> themselves in and as a result don't release stuff. :(. But its an easy
> fix as we know where stuff is!
>
> Sanjiva.
>
>


--
Chathura Herath
http://www.bloglines.com/blog/chathurah

Re: [Axis2] Memory usage

Posted by Sanjiva Weerawarana <sa...@opensource.lk>.
On Fri, 2005-12-16 at 13:36 -0500, Chathura Herath wrote:
> Hi devs,
> I could find a little bit of time to run a profiler on Axis2 i have
> attached a html of the memory usage. THis is the snapshot when the
> Axis2 crashes because it ran out of memory.
> 
> The garbage collection of the Message contexts are not happening
> properly and this could indeed our main problem which leads to massive
> memory build up. There is a heavy usage of Hasmaps too, I am not sure
> whether all of them are necessary.
> I will try to put some time into this.

Eran is working on this .. we should have it fixed this week. We've done
a poor job of making stuff gets taken off the tables they find
themselves in and as a result don't release stuff. :(. But its an easy
fix as we know where stuff is!

Sanjiva.


Re: [Axis2] Memory usage

Posted by Ajith Ranabahu <aj...@gmail.com>.
Hi Chathura,
Thanks for the profiling. We have not been able to run a proper profiling
yet and this is indeed valuable information. If possible please check in the
profiler setup/config/code so that we may run it as well and see (BTW I'm
not sure about the tool you used, Hope its not properietary :))
We are already working on the lifetime handling of contexts. There should be
an improvement pretty soon.


On 12/17/05, Chathura Herath <ch...@gmail.com> wrote:
>
> Hi devs,
> I could find a little bit of time to run a profiler on Axis2 i have
> attached a html of the memory usage. THis is the snapshot when the
> Axis2 crashes because it ran out of memory.
>
> The garbage collection of the Message contexts are not happening
> properly and this could indeed our main problem which leads to massive
> memory build up. There is a heavy usage of Hasmaps too, I am not sure
> whether all of them are necessary.
> I will try to put some time into this.
>
> Comments/help is appreciated.
>
> Thanks
> Chathura
> --
> Chathura Herath
> http://www.bloglines.com/blog/chathurah
>
>
> --
> Chathura Herath
> http://www.bloglines.com/blog/chathurah
>
>
>


--
Ajith Ranabahu