/[Apache-SVN]
ViewVC logotype

Revision 273574


Jump to revision: Previous Next
Author: costin
Date: Thu Nov 21 22:40:45 2002 UTC (21 years, 4 months ago)
Changed paths: 1
Log Message:
I hope this won't brake anything :-), but I need to try it.

Remove the reference to the task after the task execution.
Next time the task is called a new instance will be created.

This avoids excessive memory usage and potential leaks in large
programs. All the memory that is used by the task - i.e. the
task itself and all the object it creates - are beeing hold in
memory and prevented from GC by this reference.

I hope this will remove some OutOfMemory errors for large build
files.

Nicola - please let me know if you see any problems after this change !


Changed paths

Path Details
Directoryant/core/trunk/proposal/embed/src/java/org/apache/tools/ant/UnknownElement2.java modified , text changed

infrastructure at apache.org
ViewVC Help
Powered by ViewVC 1.1.26