Thread:
 Temporary Clob Resource Leak 
 rgodfrey   10 Oct 2003, 16:05 
 Re: Temporary Clob Resource Leak 
 rgodfrey   14 Oct 2003, 13:07 
 Re: Temporary Clob Resource Leak 
 bd   07 Nov 2003, 11:36 
 Re: Temporary Clob Resource Leak 
 yvanhess   05 Dec 2003, 16:21 
 Re: Temporary Clob Resource Leak 
 bd   13 Dec 2003, 16:17 
 Re: Temporary Clob Resource Leak 
 bd   17 Dec 2003, 10:49 
 Re: Temporary Clob Resource Leak 
 neil_g_avery   07 Jan 2004, 11:03 
 Re: Temporary Clob Resource Lea... 
 bd   30 Jan 2004, 14:43 
 Re: Temporary Clob Resource ... 
 Kai   02 Mar 2004, 17:22 
 Re: Temporary Clob Resour... 
 hypernate   11 Mar 2004, 22:34 
 Re: Temporary Clob Reso... 
 telebears   08 Dec 2004, 19:05 

Comment
Prev. thread 
 Next thread
 
Prev. posting 
 Next posting
From: rgodfrey (10 Oct 2003, 16:05) Replies: 10, Views: 39922
Subject: Temporary Clob Resource Leak
The createTemporary() method of oracle.sql.CLOB allocates resources 
which should be cleaned up with a call to freeTemporary() once the 
PreparedStatement has been executed. As the StringClobType class 
stands at the moment it doesn't cleanup the temporary clob and will 
slowly leak memory resources.

I'm just evaluating Hibernate at the moment and so don't know if there 
is an appropriate hook that can be used to ensure that freeTemporary() 
gets called post statement execution.
Prev. thread 
 Next thread
 
Prev. posting 
 Next posting
© Copyright 2006, Red Hat Middleware, LLC. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc. [Privacy Policy]