ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject [Bug 2971] - The <sql> task does not release memory after it is completed which causes an out of memory error.
Date Wed, 08 Aug 2001 13:13:33 GMT
PLEASE DO NOT REPLY TO THIS MESSAGE. TO FURTHER COMMENT
ON THE STATUS OF THIS BUG PLEASE FOLLOW THE LINK BELOW
AND USE THE ON-LINE APPLICATION. REPLYING TO THIS MESSAGE
DOES NOT UPDATE THE DATABASE, AND SO YOUR COMMENT WILL
BE LOST SOMEWHERE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=2971

*** shadow/2971	Fri Aug  3 09:34:50 2001
--- shadow/2971.tmp.4141	Wed Aug  8 06:13:33 2001
***************
*** 2,8 ****
  | The <sql> task does not release memory after it is completed which causes  |
  +----------------------------------------------------------------------------+
  |        Bug #: 2971                        Product: Ant                     |
! |       Status: NEW                         Version: 1.3                     |
  |   Resolution:                            Platform: PC                      |
  |     Severity: Critical                 OS/Version: Windows NT/2K           |
  |     Priority: High                      Component: Core tasks              |
--- 2,8 ----
  | The <sql> task does not release memory after it is completed which causes  |
  +----------------------------------------------------------------------------+
  |        Bug #: 2971                        Product: Ant                     |
! |       Status: NEW                         Version: 1.1                     |
  |   Resolution:                            Platform: PC                      |
  |     Severity: Critical                 OS/Version: Windows NT/2K           |
  |     Priority: High                      Component: Core tasks              |
***************
*** 48,50 ****
--- 48,140 ----
  and down, so at a very gross view, it doesn't appear to be leaking (Oracle). 
  How are you calling the <sql> multiple times?
  
+ 
+ 
+ ------- Additional Comments From stephen.wong@everypath.com  2001-08-08 06:13 -------
+ Here is how I set up my build.xml to call the <sql> target.
+ 
+ <project name="build.xml" default="run"	basedir=".">
+ 
+ <target name="run-sql-task>
+ 
+ <sql driver="${db.driver}" url="${db.url}" userid="${db.user}" 
+ password="${db.pwd}" autocommit="true" onerror="continue">
+ 
+ <classpath>
+ <fileset dir="lib" includes="j2ee.jar,jdbc_sql7.jar,jdbc_oracle8.jar,jdbc_db2-
+ 7.jar,jconn2.jar"/>
+ </classpath>
+ <transaction src="blank-file.sql"/>  <-just a blank file
+ 
+ </sql> 
+ </target>
+ <target name="run">
+ 	<antcall target="run-sql-task" />
+ 	<antcall target="run-sql-task" />
+ 	<antcall target="run-sql-task" />
+ 	<antcall target="run-sql-task" />
+ 	<antcall target="run-sql-task" />
+ 	<antcall target="run-sql-task" />
+ 	<antcall target="run-sql-task" />
+ 	<antcall target="run-sql-task" />
+ 	<antcall target="run-sql-task" />
+ 	<antcall target="run-sql-task" />
+ 	<antcall target="run-sql-task" />
+ 	<antcall target="run-sql-task" />
+ 	<antcall target="run-sql-task" />
+ 	<antcall target="run-sql-task" />
+ 	<antcall target="run-sql-task" />
+ 	<antcall target="run-sql-task" />
+ 	<antcall target="run-sql-task" />
+ 	<antcall target="run-sql-task" />
+ 	<antcall target="run-sql-task" />
+ 	<antcall target="run-sql-task" />
+ 	<antcall target="run-sql-task" />
+ 	<antcall target="run-sql-task" />
+ 	<antcall target="run-sql-task" />
+ 	<antcall target="run-sql-task" />
+ 	<antcall target="run-sql-task" />
+ 	<antcall target="run-sql-task" />
+ 	<antcall target="run-sql-task" />
+ 	<antcall target="run-sql-task" />
+ 	<antcall target="run-sql-task" />
+ 	<antcall target="run-sql-task" />
+ 	<antcall target="run-sql-task" />
+ 	<antcall target="run-sql-task" />
+ 	<antcall target="run-sql-task" />
+ 	<antcall target="run-sql-task" />
+ 	<antcall target="run-sql-task" />
+ 	<antcall target="run-sql-task" />
+ 	<antcall target="run-sql-task" />
+ 	<antcall target="run-sql-task" />
+ 	<antcall target="run-sql-task" />
+ 	<antcall target="run-sql-task" />
+ 	<antcall target="run-sql-task" />
+ 	<antcall target="run-sql-task" />
+ 	<antcall target="run-sql-task" />
+ 	<antcall target="run-sql-task" />
+ 	<antcall target="run-sql-task" />
+ 	<antcall target="run-sql-task" />
+ 	<antcall target="run-sql-task" />
+ 	<antcall target="run-sql-task" />
+ 	<antcall target="run-sql-task" />
+ 	<antcall target="run-sql-task" />
+ 	<antcall target="run-sql-task" />
+ 	<antcall target="run-sql-task" />
+ 	<antcall target="run-sql-task" />
+ 	<antcall target="run-sql-task" />
+ 	<antcall target="run-sql-task" />
+ 	<antcall target="run-sql-task" />
+ 	<antcall target="run-sql-task" />
+ 	<antcall target="run-sql-task" />
+ 	<antcall target="run-sql-task" />
+ 	<antcall target="run-sql-task" />
+ 	<antcall target="run-sql-task" />
+ 	<antcall target="run-sql-task" />
+ 	<antcall target="run-sql-task" />
+ 	<antcall target="run-sql-task" />
+ 	<antcall target="run-sql-task" />
+ 	<antcall target="run-sql-task" />
+ 	<!-- runs out of memory after 38 calls with an oracle driver-->
+ </target>
+ </project>

Mime
View raw message