You are viewing a plain text version of this content. The canonical link for it is here.
Posted to derby-dev@db.apache.org by salam salam <ia...@hotmail.com> on 2006/02/02 16:44:39 UTC

Resultset.close() didnot release the heap

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/