db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "salam salam" <ias1...@hotmail.com>
Subject Resultset.close() didnot release the heap
Date Thu, 02 Feb 2006 15:44:39 GMT
Hi,

I want to know why the Resultset.close() didnot release the heap? is it a 
bug or there is a workaround.

I have a 32 MB db and when i wrote this i lost 5 MB that didnt free:

///////////////////////////////

rs = stmt.executeQuery("select * from table");

while(rs.next());

con.clearWarnings();
stmt.clearWarnings();
rs.clearWarnings();

rs.close();
con.commit();
stmt.close();
con.close();

//////////////////////////////

i dont know why

_________________________________________________________________
Don't just search. Find. Check out the new MSN Search! 
http://search.msn.click-url.com/go/onm00200636ave/direct/01/


Mime
View raw message