DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=2971>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=2971

The <sql> task does not release memory after it is completed which causes an 
out of memory error.

[EMAIL PROTECTED] changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|                            |FIXED



------- Additional Comments From [EMAIL PROTECTED]  2001-12-21 14:59 -------
Should be fixed in CVS HEAD or wait for the next nightly build.

I did a naive fix where I'm caching the loader based on the driver name.
It would be better to use a combination of driver name/classpath but I have 
rarely seen the need to run different versions of a driver in the same run, so 
this should not be such an issue.

I tested with mysql and everything goes well with 5000 calls in 160 secs. 
Roughly it is 10-15 times faster than without caching.

I will commit a simple testcase to make it easy for people to run such tests.

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to