There may be performance implications to this or forking javac. As I understand it, you get a significant performance benefit by loading all the javac classes once. If this memory leak is a real problem, it seems it is a javac bug. Does Jikes behave sililarly?
Marvin > -----Original Message----- > From: Nick Reeves [mailto:[EMAIL PROTECTED] > Sent: Friday, January 19, 2001 7:54 AM > To: '[EMAIL PROTECTED]' > Subject: RE: Object retention problem with javac > > > Will try AntClassLoader and let you know. > > > > > A start would be to modify one of the Javac?? classes in the > > .../taskdefs/compilers directory to load the compiler class via an > > AntClassLoader instance. Could you give it a try and report back to > > us? > > > > Stefan
