Subject Re: [Firebird-Java] Possible memory leak in EncodingFactory ?
Author Roman Rokytskyy
> The buffers bufferB and bufferC are not used to store intermediate
> results. They are used as a work space for the encoding.
> In a previous post I suggested that bufferB be removed and the new
> result array be used as the working space, and bufferC be allocated off
> of the stack.
> Getting rid of these instance variables makes the class follow the
> flyweight pattern, so caching becomes a possibility (if testing supports
> it).

I will apply these changes to the CVS and test it with our AS3AP benchmark.

Thanks!
Roman