You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by Vincent Massol <vm...@pivolis.com> on 2003/04/17 17:24:55 UTC

Memory leak in Maven/Jelly

Hi,

On our project we have lots of Maven projects (> 300) and we use the
reactor to build them all continuously. We have issues with memory as it
keeps growing as the builds progress. 

I've just reported more information in
http://jira.codehaus.org/secure/ViewIssue.jspa?key=MAVEN-379

It seems to me the issue might be with Jelly objects being continuously
added to a hashtable and not being recycled as a project build is
finished.

See attached image: 

http://jira.codehaus.org/secure/attachment/10223/profiling.jpg

James, would you have any idea?

Thanks
-Vincent


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


Re: Memory leak in Maven/Jelly

Posted by Jason van Zyl <ja...@zenplex.com>.
On Thu, 2003-04-17 at 11:24, Vincent Massol wrote:
> Hi,
> 
> On our project we have lots of Maven projects (> 300) and we use the
> reactor to build them all continuously. We have issues with memory as it
> keeps growing as the builds progress. 

I believe the massive leak is happening due to the way I was doing
interpolation with Jelly. As I build up the new version with test cases
I will know for sure. The interpolation as it was has been removed but I
will take a peek as the new version doesn't do you much good.

> I've just reported more information in
> http://jira.codehaus.org/secure/ViewIssue.jspa?key=MAVEN-379
> 
> It seems to me the issue might be with Jelly objects being continuously
> added to a hashtable and not being recycled as a project build is
> finished.

I'm sure it's something I did and not Jelly. I don't use a profiler so
do you have any specifics that might help pinpoint the problem?

> See attached image: 
> 
> http://jira.codehaus.org/secure/attachment/10223/profiling.jpg
> 
> James, would you have any idea?
> 
> Thanks
> -Vincent
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
> For additional commands, e-mail: dev-help@maven.apache.org
-- 
jvz.

Jason van Zyl
jason@zenplex.com
http://tambora.zenplex.org

In short, man creates for himself a new religion of a rational
and technical order to justify his work and to be justified in it.
  
  -- Jacques Ellul, The Technological Society


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org