directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Trustin Lee" <>
Subject Re: [mina] memory issues
Date Wed, 18 Oct 2006 01:24:04 GMT
Hi Colin,

MINA has its own mailing list.  Please send an empty message to to subscribe to the list, and send
your question to from the next time.

On 10/18/06, Colin Koeck <> wrote:
> I recently upgraded from netty2 to mina, and noticed mina is much more
> stable which I am very happy about.  However, it seems to be a memory hog
> which concerns me a little.  I'm trying to push about 75,000 messages, each
> about 400 characters in length, through a client/server architecture using
> mina..and the software throws a OutOfMemoryError about half-way through.
> The only way I got it to successfully finish was to execute the software
> with -Xmx1000M!

You will have to increase your direct buffer memory.  Please refer to our
FAQ page.:

I think it might be a good idea to use heap buffers by default.  What do you
think, everyone?

I'm going to profile the software later this week, but I'm wondering if the
> results I got with mina are expected, and if there is any way to cut corners
> and use less memory with mina.  I'd appreciate it if anyone has any input on
> the subject.  Thank you.

Please let us know whenever you have any idea to improve MINA.  All ideas
will be appreciated.

what we call human nature is actually human habit
PGP key fingerprints:
* E167 E6AF E73A CBCE EE41  4A29 544D DE48 FE95 4E7E
* B693 628E 6047 4F8F CFA4  455E 1C62 A7DC 0255 ECA6

View raw message