Generally speaking, one does not care about the memory usage of Ant unless
you're working with a task that gets repeated a LOT.
Just out of interest, I tried the two scenarios whilst tracing the class
loader. Yes in the case where the taskef is inside a target, the class gets
loaded later. But
If I defined a for a custom task at the project-level (outside
of a macro or target), does that consume a significant amount of memory?
Would defining in a target and have the targets that use it
depend on it (thus, the taskdef init would only run when the target
runs) be a better optimizati