Re: Memory leak in NetRexxC

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Re: Memory leak in NetRexxC

Satguru P. Srivastava
Thanks for resolving this.
Mike when you have time could you also look into another problem.
This has to do with NetRexx under linux.
Under linux I keep getting this message

"java.lang.NoClassDefFoundError:sun/tools/javac/Main"

even though I have the classpath pointing correctly to tools.jar.
The only way to avoid this is to copy tools.jar to jre/lib/ext directory.
I am using sun's jdk 1.2, NetRexx 2, Redhat linux 6.0
Thanks
Satguru




----- Original Message -----
From: <[hidden email]>
To: "Patric Bechtel" <[hidden email]>
Cc: <[hidden email]>
Sent: Sunday, April 01, 2001 5:37 AM
Subject: Re: Memory leak in NetRexxC


>
>
> Well, you were quite right -- NetRexxC was wasting memory around
a -prompt.

> The class management code was carefully not releasing imported classes so
> they could be reused without reloading on subsequent compiles -- but
> unfortunately the class finder code was over cautious, detected they were
> from a different context, and didn't reuse them -- hence all the classes
> were then reloaded again.   So the memory you saw being eaten up was (I
> hope!) all from Imports.
>
> Should be OK now -- I've just put 2.01 on the website.  Do try!
>
> Thanks for identifying the problem -- and apologies for not getting to it
> sooner.
>
> Mike
>
> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
> Mike Cowlishaw, IBM Fellow
> mailto:[hidden email]  --  http://www2.hursley.ibm.com
>
>