Chris, may be you can add following arguments too.

-XX:+UseConcMarkSweepGC
-XX:MaxPermSize=1024m

On Fri, Sep 12, 2014 at 3:15 PM, chris snow <chsnow...@gmail.com> wrote:

> Hi Guys,
>
> I'm hitting a "GC overhead limit exceeded" error on Travis [1].  My
> build is doing this [2]:
>
> export MAVEN_OPTS="-Xms512m -Xmx2048m -XX:MaxPermSize=512m
> -XX:ReservedCodeCacheSize=256m -XX:-UseGCOverheadLimit"
> mvn clean install -P cli-test integration-test
>
> Do you have an idea how this error can be resolved?
>
> Many thanks,
>
> Chris
>
> ----
> [1] https://travis-ci.org/snowch/stratos/builds/35095142#L571
> [2]
> https://github.com/snowch/stratos/blob/def50b1abb745a0b81c746342c9b1041d7d0cac4/travis_build.sh
>
> On Tue, Sep 9, 2014 at 6:56 PM, chris snow <chsnow...@gmail.com> wrote:
> > Hi Imesh, yes a .travis.yml file will be needed.  It is a little tricky
> > because our build outputs over 4 mb which is a Travis limit.  However we
> > can't turn output off because no output for 10 mins will make Travis
> think
> > the build has failed.
> >
> > On 9 Sep 2014 16:09, "Imesh Gunaratne" <im...@apache.org> wrote:
> >>
> >> +1 A great thought Chris!
> >> We will need to add a ".travis.yml" file I to the root of the project I
> >> guess.
> >>
> >> On Tue, Sep 9, 2014 at 2:41 AM, Isuru Haththotuwa <isu...@apache.org>
> >> wrote:
> >>>
> >>>
> >>>
> >>> On Tue, Sep 9, 2014 at 12:07 PM, Nirmal Fernando <
> nirmal070...@gmail.com>
> >>> wrote:
> >>>>
> >>>> Absolute +1 Chris. Will be very helpful.
> >>>>
> >>>> On Tue, Sep 9, 2014 at 11:26 AM, chris snow <chsnow...@gmail.com>
> wrote:
> >>>>>
> >>>>> Hi devs,
> >>>>>
> >>>>> What do you think about $subject?  If PRs are automatically built, it
> >>>>> may take some pressure off of those working on merging the PR
> because they
> >>>>> will know upfront if the PR breaks the build.
> >>>
> >>> +1 Chris, will be very useful specially considering the PR queue that
> we
> >>> have atm.
> >>>>>
> >>>>> Cheers,
> >>>>>
> >>>>> Chris
> >>>>
> >>>>
> >>>>
> >>>>
> >>>> --
> >>>> Best Regards,
> >>>> Nirmal
> >>>>
> >>>> Nirmal Fernando.
> >>>> PPMC Member & Committer of Apache Stratos,
> >>>> Senior Software Engineer, WSO2 Inc.
> >>>>
> >>>> Blog: http://nirmalfdo.blogspot.com/
> >>>>
> >>>> --
> >>>> Thanks and Regards,
> >>>>
> >>>> Isuru H.
> >>>> +94 716 358 048
> >>>>
> >>>>
> >>>>
> >>>>
> >>>>
> >>>>
> >>>>
> >>>>
> >>
> >>
> >>
> >> --
> >> Imesh Gunaratne
> >>
> >> Technical Lead, WSO2
> >> Committer & PMC Member, Apache Stratos
>



-- 
Best Regards,
Nirmal

Nirmal Fernando.
PPMC Member & Committer of Apache Stratos,
Senior Software Engineer, WSO2 Inc.

Blog: http://nirmalfdo.blogspot.com/

Reply via email to