AW: Log memory usage of the java virtual machine

2007-01-08 Thread Christoph.Paschedag
Nachricht- Von: James Stauffer [mailto:[EMAIL PROTECTED] Gesendet: Donnerstag, 4. Januar 2007 18:24 An: Log4J Users List Betreff: Re: Log memory usage of the java virtual machine You could make your own appender and add the info there or make your own layout class to add support for inclu

Re: Log memory usage of the java virtual machine

2007-01-04 Thread Maarten Bosteels
On 1/4/07, James Stauffer <[EMAIL PROTECTED]> wrote: You could make your own appender and add the info there or make your own layout class to add support for including it in the output. but I think, what you really need is a memory profile like Yourkit Java profiler Maarten On 1/4/07, [EMAI

Re: Log memory usage of the java virtual machine

2007-01-04 Thread James Stauffer
You could make your own appender and add the info there or make your own layout class to add support for including it in the output. On 1/4/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: Hi, I'm searching for a solution to add the memory usage of the java virtual machine to every log4j entry

Log memory usage of the java virtual machine

2007-01-04 Thread Christoph.Paschedag
Hi, I'm searching for a solution to add the memory usage of the java virtual machine to every log4j entry. At the moment I can access only manually the memory usage with the help of: double free = Runtime.getRuntime().freeMemory() / 1024d / 1024d; double max = Runtime.getRuntime().maxMemory()