cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Scott Vachalek <>
Subject RE: "Proper" use of JPython
Date Fri, 08 Sep 2000 21:40:53 GMT
Uh-oh, I think I'm about to stumble into this same problem.  Anyone happen
to know which JVMs *do* free class info?

-----Original Message-----
From: Peter Donald []
Sent: Tuesday, September 05, 2000 5:50 PM
Subject: Re: "Proper" use of JPython

At 04:25  5/9/00 -0400, you wrote:
>In Cocoon1 I wrote a very simple producer that loaded a script, executed
>it, and then extracted the string contents of a known variable.  While
>this works fine, it feels like a hack and I seem to have a memory leak
>somewhere that causes the JVM to give up after a few days.

depends on your VM but many never released Class references/code. So each
new script creates a new .class in memory - that is never freed. In which
case using JPython will always do that :(



| "Nearly all men can stand adversity, but if you want |
| to test a man's character, give him power."          |
|       -Abraham Lincoln                               |

View raw message