You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@commons.apache.org by Kristofer Eriksson <Kr...@techmar.de> on 2004/09/16 18:22:27 UTC

[Jelly] compiling scripts causes memory leaks

Hi all,

 

am a big fan of Jelly and am happy to see the progress with the latest beta
4 release. Congratulations all of you involved.

 

I am using it now (heavily) in a portal dev project (Jetspeed) and having
problems with performance and "memory leaks". My tests have shown that when
using real time compilation of scripts the memory used by tomcat is growing
rapidly under load. I have compared real time compilation and pre compiled
scripts and there is definitively a big difference.

 

Is this something known, have someone experienced the same, and most
important: can it be prevented? I suppose it could have to do with the xml
parser used, and not jelly itself, but my knowledge there is not on an
expert level.

 

Within the app, I am using dynamic scripts so I cannot pre-compile
everything, so that suggestion will not give me much help:-) 

 

Pls, any help/info appreciated.

 

Kind Regards

 

/Kristofer Eriksson



 


---------------------------------------------------------------------
To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-user-help@jakarta.apache.org


Re: [Jelly] compiling scripts causes memory leaks

Posted by Paul Libbrecht <pa...@activemath.org>.
Kristofer,

There was a leak-issue filed in Jira, I think it was kind of closed... 
it had to do with re-used threads.

paul


Le 16 sept. 04, à 18:22, Kristofer Eriksson a écrit :

> Hi all,
>
>
>
> am a big fan of Jelly and am happy to see the progress with the latest 
> beta
> 4 release. Congratulations all of you involved.
>
>
>
> I am using it now (heavily) in a portal dev project (Jetspeed) and 
> having
> problems with performance and "memory leaks". My tests have shown that 
> when
> using real time compilation of scripts the memory used by tomcat is 
> growing
> rapidly under load. I have compared real time compilation and pre 
> compiled
> scripts and there is definitively a big difference.
>
>
>
> Is this something known, have someone experienced the same, and most
> important: can it be prevented? I suppose it could have to do with the 
> xml
> parser used, and not jelly itself, but my knowledge there is not on an
> expert level.
>
>
>
> Within the app, I am using dynamic scripts so I cannot pre-compile
> everything, so that suggestion will not give me much help:-)
>
>
>
> Pls, any help/info appreciated.
>
>
>
> Kind Regards
>
>
>
> /Kristofer Eriksson
>
>
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: commons-user-help@jakarta.apache.org
>


---------------------------------------------------------------------
To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-user-help@jakarta.apache.org