Re: possible memory leak??

Поиск
Список
Период
Сортировка
Искать
От
Dave Cramer
Тема
Re: possible memory leak??
Дата
Msg-id
1036763635.12348.13.camel@inspiron.cramers
Ответ на
Re: possible memory leak?? (Michael Paesold)
Список
Дерево обсуждения
Re: DatabaseMetaData.getTables problem Barry Lind <blind@xythos.com>
Re: DatabaseMetaData.getTables problem Kris Jurka <books@ejurka.com>
Re: DatabaseMetaData.getTables problem snpe <snpe@snpe.co.yu>
Re: DatabaseMetaData.getTables problem Kris Jurka <books@ejurka.com>
Should the gc run before an OutOfMemoryException is thrown

in other words are the jvm's smart enough to run the gc if they are out
of memory?

Dave

On Fri, 2002-11-08 at 08:31, Michael Paesold wrote:
> Dave Cramer  wrote:
> 
> > If I run the following program for an extended period of time the
> > memory consumed by java keeps increasing 4M at a time. Can anyone else
> > confirm this, and next; can anyone explain why? Is this normal? I doubt
> it, but
> > can't confirm it?
> >
> > Does anyone have access to an optimizer to run this on?
> 
> Have you tried to run System.gc() at the end of each loop?
> 
>     selectRoutes();
>     System.gc();
>     Thread.sleep(2000);
>     ...
> 
> Perhaps the JVM just isn't fast enough with the garbage collection.
> 
> Regards,
> Michael Paesold
> 
> 
> ---------------------------(end of broadcast)---------------------------
> TIP 4: Don't 'kill -9' the postmaster
-- 
Dave Cramer 

В списке pgsql-jdbc по дате отправления
От: Alex Dovlecel
Дата:
Сообщение: JDBC driver problem ?
От: Daniel Serodio
Дата:
Сообщение: Re: JDBC driver problem ?
FAQ