directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jan Andersson <ja...@minq.se>
Subject Re: [mina] Performance issues
Date Wed, 23 Mar 2005 22:59:53 GMT

> On 2005-03-23, at 15:59, Trustin Lee wrote:
>
> Hi,
>
> On Wed, 23 Mar 2005 15:05:55 +0100, Jan Andersson <janne@minq.se> 
> wrote:
>> Hi,
>>
>>> [...]
>> When running out of direct buffer memory, try using the
>> -XX:MaxDirectMemorySize
>> option. For example:
>>
>>  -XX:MaxDirectMemorySize=128M
>
> Thanks for pointing out a good point.  I remember you implemented your
> byte buffer pool to allocate non-direct buffer when OutOfMemoryError
> is caught.  Would it be OK to modify byte buffer pool like you did?
> WDYT?

Yes, I think this is a good idea.
But I also beleive that you should write some kind of warning
when switching to non-direct buffer...

/Janne


Mime
View raw message