Re: Memory leak in MINA 1.1.4

2007-11-28 Thread Matt Phillips
. Thanks for your help. Hopefully this will be of use to anyone else who runs into this sort of behaviour and mis-diagnoses it. Matthew. -- View this message in context: http://www.nabble.com/Memory-leak-in-MINA-1.1.4-tf4849077s16868.html#a14012900 Sent from the Apache MINA Support Forum mailing

Re: Memory leak in MINA 1.1.4

2007-11-23 Thread Bogdan Ciprian Pistol
Hmm.. I don't have much experience with jmap histogram. It might be including the objects to be GC'd or that has been GC'd so far. I'm not sure. There is an option -histo:live to count only live objects (added in Java 1.6)

Re: Memory leak in MINA 1.1.4

2007-11-22 Thread Trustin Lee
On Nov 22, 2007 3:08 PM, Matt Phillips [EMAIL PROTECTED] wrote: Trustin Lee wrote: I opened the hprof files you provided in YourKit profiler and it seems like the actual amount of memory the JVM is very small: http://www.nabble.com/file/p13891096/avis-profiler-report.zip

Re: Memory leak in MINA 1.1.4

2007-11-21 Thread Trustin Lee
You might be writing too fast so that the write request queue piles up. Could you run jmap to dump your server's memory map? Trustin On Nov 21, 2007 4:48 PM, Matthew Phillips [EMAIL PROTECTED] wrote: Hi all, it seems I've been hit by a fairly serious memory leak that appears to be in MINA's

Re: Memory leak in MINA 1.1.4

2007-11-21 Thread Matt Phillips
lightly loaded: I haven't looked at network usage, but CPU usage never goes above 15% and averages out probably at 2%. Matthew. -- View this message in context: http://www.nabble.com/Memory-leak-in-MINA-1.1.4-tf4849077s16868.html#a13874505 Sent from the Apache MINA Support Forum mailing list

Re: Memory leak in MINA 1.1.4

2007-11-21 Thread Trustin Lee
On Nov 21, 2007 7:27 PM, Matt Phillips [EMAIL PROTECTED] wrote: Trustin Lee wrote: You might be writing too fast so that the write request queue piles up. Could you run jmap to dump your server's memory map? Do you mean you'd like a hprof memory dump? Yes. The test client is

Re: Memory leak in MINA 1.1.4

2007-11-21 Thread Matt Phillips
of what's going on. Matthew. -- View this message in context: http://www.nabble.com/Memory-leak-in-MINA-1.1.4-tf4849077s16868.html#a13888344 Sent from the Apache MINA Support Forum mailing list archive at Nabble.com.

Re: Memory leak in MINA 1.1.4

2007-11-21 Thread Trustin Lee
I often observe JVM increases its total heap size too much even when the application doesn't demand that much. Wouldn't it be such a case? HTH Trustin -- View this message in context: http://www.nabble.com/Memory-leak-in-MINA-1.1.4-tf4849077s16868.html#a13891096 Sent from the Apache MINA Support

Re: Memory leak in MINA 1.1.4

2007-11-21 Thread Matt Phillips
: http://www.nabble.com/Memory-leak-in-MINA-1.1.4-tf4849077s16868.html#a13891490 Sent from the Apache MINA Support Forum mailing list archive at Nabble.com.