ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 25394] - OutofMemory when running lots of <script> tasks
Date Tue, 23 Dec 2003 16:11:19 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=25394>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

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

OutofMemory when running lots of <script> tasks





------- Additional Comments From j_a_fernandez@yahoo.com  2003-12-23 16:11 -------
Do not forget ScriptDef which uses the same code pattern as Script.

In the mean time I have been looking at BSF (as an act of desperation) and 
notice that there is a bunch of calls that we are probably missing, in 
particular in the Engines do static things.

So the BSFManager has a terminate() that terminates properly all the engines
that are active. Maybe it is a good idea for ScriptRunner to call it on a 
finally block in executeScript().

Additionally there are BSFManager.setClassPath(String) and 
BSFManager.setClassLoader(ClassLoader) that when given will be used by engines 
that need such things. This would really help for people like me that use 
beanshell which can made use the code I am building.

Anybody willing to take a look at this?

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org


Mime
View raw message