maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Olivier Lamy <ol...@apache.org>
Subject Re: [Solved] Re: Memory Leak?
Date Mon, 14 May 2012 19:22:02 GMT
2012/5/14 Hilco Wijbenga <hilco.wijbenga@gmail.com>:
> On 11 May 2012 15:56, Hilco Wijbenga <hilco.wijbenga@gmail.com> wrote:
>> I have noticed that in a fairly large reactor build the build dies
>> close to the end (about 10 modules to go out of around 90). It simply
>> runs out of memory. Restarting it with -rf allows it to finish without
>> issues. There is a limit to how much memory I can give Maven... :-)
>>
>> So apparently, Maven does not release memory before continuing on with
>> the next module? Or would this be something that is specific to a
>> particular plugin (in my case, it's undoubtedly the GWT Maven plugin)?
>
> I changed a number of things so I'm not sure exactly which one did the
> trick ... but I think we can make a good guess. :-) Oh, and this is
> all with Maven 3.0.3.
Cool and 3.0.4 ?

>
> I finally upgraded my system from 32bit to 64bit (GNU/Linux). I also
> went from the Sun JDK (1.6.0.32) to IcedTea (7.2.1). Finally, I
> upgraded the Maven Compiler plugin to 2.4. I believe it is mainly the
> first two changes that fixed things. Strangely enough, I can now run
> the full build with only 1GB (and I could probably use even less). I
> had 2GB before and that was still not enough...
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>



-- 
Olivier Lamy
Talend: http://coders.talend.com
http://twitter.com/olamy | http://linkedin.com/in/olamy

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


Mime
View raw message