Subject Re: [Firebird-Java] Possible memory leak in EncodingFactory ?
Author Roman Rokytskyy
> I will apply these changes to the CVS and test it with our AS3AP
> benchmark.

Sorry for a late reply - was bit busy at work.

I have added your code and tested it with AS3AP single user tests. It shows
slight degradation of the performance (before it took ~34 sec. for the test,
now it is ~38 sec).

However, since there is possible advantage to the people that prefer smaller
memory footprint compared to slightly better performance, I have added a
system property "jaybird.encoding.cache" (not connection property, but the
one that can be passed using -Djaybird.encoding.cache=true to JVM at

This week I will publish Release Candidate version of Jaybird 2.1, so
interested parties can check the solution.