cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Peter Donald <>
Subject Re: "Proper" use of JPython
Date Wed, 06 Sep 2000 00:50:24 GMT
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