You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@felix.apache.org by Felix Meschberger <fm...@gmail.com> on 2010/03/02 16:15:49 UTC

Fwd: Memory Usage Display in the Web Console

Hi all,

Forwarding this from the Sling Dev list, where the general feeling is,
that the described bundle would better fit into the Felix project.

If you agree, I would think, that this would go into the
webconsole-plugins folder. Also note, that this bundle requires Java 5
or better.

WDYT ?

Regards
Felix

-------- Original Message --------
Subject: Memory Usage Display in the Web Console
Date: Tue, 02 Mar 2010 00:06:25 +0100
From: Felix Meschberger <fm...@gmail.com>
To: Sling Developers <de...@sling.apache.org>

Hi all,

As of Java 5, the platform provides a big number of information about
the memory state for the virtual machine.

I have hacked together a Web Console plugin to display the overall
memory use as well as usage of the different memory pools. The plugin
also allows for creating heap dumps and for downloading these heap dumps.

In addition, the plugin ensures, any existing heap dumps are also
included in the ZIP download of the Configuration Status page.

Finally, the plugin allows for setting a percentage threshold (50-100%)
of memory usage (Perm Gen and Old Gen). As soon as memory consumption
crosses the threshold a heap dump is automatically generated (and yes,
if the threshold is repeatedly crossed, a dump is generated each time
the threshold is crossed, not just the first time).

The plugin requires a trunk build of the Apache Felix Web Console and is
available from my whiteboard at [1].

Enjoy and tell me what you think.

Regards
Felix

[1]http://svn.apache.org/repos/asf/sling/whiteboard/fmeschbe/memoryusage

Re: Fwd: Memory Usage Display in the Web Console

Posted by "Richard S. Hall" <he...@ungoverned.org>.
Seems reasonable to me...

-> richard

On 3/2/10 3:46 PM, Karl Pauls wrote:
> +1 :-)
>
> On Tue, Mar 2, 2010 at 4:32 PM, Carsten Ziegeler<cz...@apache.org>  wrote:
>    
>> Felix Meschberger wrote:
>>      
>>> Hi all,
>>>
>>> Forwarding this from the Sling Dev list, where the general feeling is,
>>> that the described bundle would better fit into the Felix project.
>>>
>>> If you agree, I would think, that this would go into the
>>> webconsole-plugins folder. Also note, that this bundle requires Java 5
>>> or better.
>>>
>>> WDYT ?
>>>        
>> +1 :)
>>
>> Carsten
>> --
>> Carsten Ziegeler
>> cziegeler@apache.org
>>
>>      
>
>
>    

Re: Fwd: Memory Usage Display in the Web Console

Posted by Karl Pauls <ka...@gmail.com>.
+1 :-)

On Tue, Mar 2, 2010 at 4:32 PM, Carsten Ziegeler <cz...@apache.org> wrote:
> Felix Meschberger wrote:
>> Hi all,
>>
>> Forwarding this from the Sling Dev list, where the general feeling is,
>> that the described bundle would better fit into the Felix project.
>>
>> If you agree, I would think, that this would go into the
>> webconsole-plugins folder. Also note, that this bundle requires Java 5
>> or better.
>>
>> WDYT ?
> +1 :)
>
> Carsten
> --
> Carsten Ziegeler
> cziegeler@apache.org
>



-- 
Karl Pauls
karlpauls@gmail.com

Re: Fwd: Memory Usage Display in the Web Console

Posted by Carsten Ziegeler <cz...@apache.org>.
Felix Meschberger wrote:
> Hi all,
> 
> Forwarding this from the Sling Dev list, where the general feeling is,
> that the described bundle would better fit into the Felix project.
> 
> If you agree, I would think, that this would go into the
> webconsole-plugins folder. Also note, that this bundle requires Java 5
> or better.
> 
> WDYT ?
+1 :)

Carsten
-- 
Carsten Ziegeler
cziegeler@apache.org