hi, On Tue, Mar 2, 2010 at 00:06, Felix Meschberger <fmesc...@gmail.com> wrote: > 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.
nice. > 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). is that configurable? if things go wrong, an application will probably throw OOME multiple times. that would quickly fill the disk. regards marcel > 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 >