I tryied that and am getting the same error.
Department dpt..

        dbConn = TurbineDB.getConnection();
        dpt.save(dbConn);
        TurbineDB.releaseConnection(dbConn);

but still throws the OOM


On Tue, 26 Feb 2002, Phee, Martin J (Jump Tech) wrote:

> Make sure you do a release connection.
> 
> TurbineDB.releaseConnection( dbcn);
> 
> -----Original Message-----
> From: Christian Asmussen [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, February 26, 2002 2:54 AM
> To: Turbine User List
> Subject: Help connection OutOfMemory
> 
> 
> 
> When doing several insertions into the database I get the following error:
> 
> 
>         Exception:  java.lang.reflect.InvocationTargetException
>         Stack Trace follows:
> 
> java.lang.reflect.InvocationTargetException: java.lang.OutOfMemoryError
>         <<no stack trace available>>
> 
> [Tue Feb 26 05:47:58 GMT-03:00 2002] -- WARN -- A DBConnection was
> finalized, without being returned to the ConnectionPool it belonged to
> 
> 
> 
> 
> 
> 
> How can I avoid this?  Should I "flush" the connection? How?
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> --------
> As you grouw older,
> you'll find the only
> things you regred are
> the things you
> didn't do.
> 
>  - Zachary Scott
> 
> 
> --
> To unsubscribe, e-mail:
> <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail:
> <mailto:[EMAIL PROTECTED]>
> 
> --
> To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
> 
> 

-- 
As you grouw older,
you'll find the only
things you regred are
the things you
didn't do.

 - Zachary Scott


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to