On Tue, Apr 13, 2010 at 11:31 AM, ant elder <[email protected]> wrote: > On Tue, Apr 13, 2010 at 11:24 AM, Simon Laws <[email protected]> > wrote: >> On Tue, Apr 13, 2010 at 11:13 AM, <[email protected]> wrote: >>> Author: antelder >>> Date: Tue Apr 13 10:13:24 2010 >>> New Revision: 933538 >>> >>> URL: http://svn.apache.org/viewvc?rev=933538&view=rev >>> Log: >>> Go back to the default surefire mem settings which gets my local build >>> running ok without needing any mavenopts >>> >>> Modified: >>> tuscany/sca-java-2.x/trunk/pom.xml >>> >>> Modified: tuscany/sca-java-2.x/trunk/pom.xml >>> URL: >>> http://svn.apache.org/viewvc/tuscany/sca-java-2.x/trunk/pom.xml?rev=933538&r1=933537&r2=933538&view=diff >>> ============================================================================== >>> --- tuscany/sca-java-2.x/trunk/pom.xml (original) >>> +++ tuscany/sca-java-2.x/trunk/pom.xml Tue Apr 13 10:13:24 2010 >>> @@ -839,9 +839,11 @@ >>> <include>**/*TestCase.java</include> >>> </includes> >>> <reportFormat>brief</reportFormat> >>> +<!-- >>> <useFile>false</useFile> >>> <forkMode>once</forkMode> >>> <argLine>-ea -Xmx756m -Xms756m >>> -XX:MaxPermSize=512m</argLine> >>> +--> >>> </configuration> >>> </plugin> >>> >>> >>> >>> >> >> Hi Ant >> >> I'd changed my local version of this to read... >> >> <argLine>-ea -Xmx1024m -Xms1024m -XX:MaxPermSize=512m</argLine> >> > > When i try that the build fails immediately with: > > [INFO] Surefire report directory: > C:\Tuscany\svn\2.x-trunk\modules\monitor\target\surefire-reports > Error occurred during initialization of VM > Could not reserve enough space for object heap > Could not create the Java virtual machine. > > ...ant >
And are you getting a clean build of all of the compliance tests? I'm still getting OOM in JCA when run from the full build. With local changes I no longer get the same when I run from otest/newlayout Simon -- Apache Tuscany committer: tuscany.apache.org Co-author of a book about Tuscany and SCA: tuscanyinaction.com
