Re: Garbage Collector and memory

2005-10-27 Thread Dyre . Tjeldvoll
Juan Ignacio Villa <[EMAIL PROTECTED]> writes: > Thanks. > I resolve it. But i dont mind the difference between > rs.executeQuery() and rs.executeQuery(sql). Whith the > fist one i get the outOfMemory exception. Well, as long as it works for you... But compiling the statement each time you go th

Re: Garbage Collector and memory

2005-10-27 Thread Juan Ignacio Villa
Thanks. I resolve it. But i dont mind the difference between rs.executeQuery() and rs.executeQuery(sql). Whith the fist one i get the outOfMemory exception. class.forName("org.apache..."); Connnection DBcon = DriverManager.getConnection("jdbc:derby:"); String Sql = ""; Statement Consulta =DBc

Re: Garbage Collector and memory

2005-10-26 Thread ji_villa
El mar, 25-10-2005 a las 13:56 +0200, Fernanda Pizzorno escribió: > Juan Ignacio Villa wrote: > > >[...] > > > > Consulta = > >DBConexion.createStatement(ResultSet.TYPE_SCROLL_SENSITIVE,ResultSet.CONCUR_UPDATABLE); > > Rs = Consulta.executeQuery(sql); > > > >[...] > > > Hello, > > Scrollable se

Re: Garbage Collector and memory

2005-10-25 Thread Fernanda Pizzorno
Juan Ignacio Villa wrote: [...] Consulta = DBConexion.createStatement(ResultSet.TYPE_SCROLL_SENSITIVE,ResultSet.CONCUR_UPDATABLE); Rs = Consulta.executeQuery(sql); [...] Hello, Scrollable sensitive result sets (ResultSet.TYPE_SCROLL_SENSITIVE) are not implemented in Derby. Scrollable ins

Re: Garbage Collector and memory

2005-10-25 Thread Dyre . Tjeldvoll
Juan Ignacio Villa <[EMAIL PROTECTED]> writes: > Hello. > > My java application uses memory more and more until it > crash. It is strange because not use new variables nor > I do not create them dynamically. I have an for with > which I make select SQL by means of inserted dynamic > values. The pe

Re: Garbage Collector and memory

2005-10-24 Thread Daniel Noll
Juan Ignacio Villa wrote: Hello. My java application uses memory more and more until it crash. It is strange because not use new variables nor I do not create them dynamically. I have an for with which I make select SQL by means of inserted dynamic values. The peculiar thing is that in each ret

Garbage Collector and memory

2005-10-24 Thread Juan Ignacio Villa
Hello. My java application uses memory more and more until it crash. It is strange because not use new variables nor I do not create them dynamically. I have an for with which I make select SQL by means of inserted dynamic values. The peculiar thing is that in each return of for for, the program u