Memory Leak in my JDBC application.

Hi

I am experiencing a memory leak in a test application using the JDBC-ODBC bridge to access an MS Access DB.

I close the result set, statement and connection objects after each query. Even then the memory allocated to the process increases by about 20K after each query.

Is there anything else I should do apart from closing these objects?

Thanks a lot for your time.

Fred.

[421 byte] By [f_dubru] at [2007-9-26 5:40:16]
# 1

I am having the same problem using JDBC-ODBC bridge with the MS SQL server DB. Even after closing all of the objects as specified.

Sorry couldn't be of much help but check the following link

http://www.allaire.com/Handlers/index.cfm?ID=12409&Method=Full

But I do not have a work around for this may be I am not looking at the right response.

Can some one please help.

carrie101 at 2007-7-1 13:55:12 > top of Java-index,Database Connectivity,Java Database Connectivity (JDBC)...
# 2
Have you run a profiling/performance tool on your application to determine where the memory leaks are occuring?
jschell at 2007-7-1 13:55:12 > top of Java-index,Database Connectivity,Java Database Connectivity (JDBC)...