You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@openjpa.apache.org by Craig L Russell <Cr...@Sun.COM> on 2007/04/21 23:12:29 UTC

Fwd: [continuum] BUILD FAILURE: OpenJPA Distribution

Hi,

Could the vm used to build openjpa be given some more memory to allow  
the build to go through more often?

Is this something the openjpa folks can do ourselves?

Thanks,

Craig

Begin forwarded message:

> From: "Continuum@vmbuild.apache.org" <open-jpa- 
> commits@incubator.apache.org>
> Date: April 21, 2007 2:08:08 PM PDT
> To: open-jpa-commits@incubator.apache.org
> Subject: [continuum] BUILD FAILURE: OpenJPA Distribution
> Reply-To: open-jpa-dev@incubator.apache.org
>
> Online report : http://vmbuild.apache.org/continuum/servlet/ 
> continuum/target/ProjectBuild.vm/view/ProjectBuild/id/85/buildId/ 
> 119491
> Build statistics:
>   State: Failed
>   Previous State: Failed
>   Started at: Sat, 21 Apr 2007 14:03:39 -0700
>   Finished at: Sat, 21 Apr 2007 14:08:07 -0700
>   Total time: 4m 28s
>   Build Trigger: Schedule
>   Exit code: 1
>   Building machine hostname: vmbuild.apache.org
>   Operating system : Linux(unknown)
>   Java version : 1.5.0_06(Sun Microsystems Inc.)
>
> Changes
>          mprudhom          Changed link tag to xref since there is  
> no enclosed describing text.
>              /incubator/openjpa/trunk/openjpa-project/src/doc/ 
> manual/ref_guide_optimization.xml
>            mprudhom          Output multi-page manual as well as  
> single manual page.
>              /incubator/openjpa/trunk/openjpa-project/pom.xml
>
> ********************************************************************** 
> ******
> Output:
> ********************************************************************** 
> ******
> [INFO] Scanning for projects...
> [INFO]  
> ---------------------------------------------------------------------- 
> ------
> [INFO] Building OpenJPA Distribution
> [INFO]    task-segment: [clean, install]
> [INFO]  
> ---------------------------------------------------------------------- 
> ------
> [INFO] [clean:clean]
> [INFO] Deleting directory /x1/continuum/working-directory/85/target
> [INFO] Deleting directory /x1/continuum/working-directory/85/target/ 
> classes
> [INFO] Deleting directory /x1/continuum/working-directory/85/target/ 
> test-classes
> [INFO] [site:attach-descriptor]
> [WARNING]
> 	Artifact ant:ant:jar:1.6.5:runtime retains local scope 'runtime'  
> overriding broader scope 'compile'
> 	given by a dependency. If this is not intended, modify or remove  
> the local scope.
>
> Downloading: http://www.ibiblio.org/maven2/docbook/docbook-xsl/ 
> 1.67.2/docbook-xsl-1.67.2.pom
> [WARNING] Unable to get resource 'docbook:docbook-xsl:pom:1.67.2'  
> from repository central (http://www.ibiblio.org/maven2)
> [WARNING] DEPRECATED [descriptor]: Please use descriptors instead
> [INFO] [assembly:attached {execution: bin}]
> [INFO] Building zip: /x1/continuum/working-directory/85/target/ 
> assembly/openjpa-project-0.9.8-incubating-SNAPSHOT-binary.zip
> [WARNING] DEPRECATED [descriptor]: Please use descriptors instead
> [INFO] [assembly:attached {execution: sources}]
> [INFO]  
> ---------------------------------------------------------------------- 
> --
> [ERROR] FATAL ERROR
> [INFO]  
> ---------------------------------------------------------------------- 
> --
> [INFO] Java heap space
> [INFO]  
> ---------------------------------------------------------------------- 
> --
> [INFO] Trace
> java.lang.OutOfMemoryError: Java heap space
> [INFO]  
> ---------------------------------------------------------------------- 
> --
> [INFO] Total time: 4 minutes 26 seconds
> [INFO] Finished at: Sat Apr 21 14:08:07 PDT 2007
> [INFO] Final Memory: 11M/63M
> [INFO]  
> ---------------------------------------------------------------------- 
> --
>
> ********************************************************************** 
> ******
>
>

Craig Russell
DB PMC
clr@apache.org http://db.apache.org/jdo



Re: [continuum] BUILD FAILURE: OpenJPA Distribution

Posted by Craig L Russell <Cr...@Sun.COM>.
Hi Wendy,

Thanks for that. So where do we put this setting? Is it in the  
continuum build script that openjpa committers have access to?

Thanks,

Craig

On Apr 21, 2007, at 2:35 PM, Wendy Smoak wrote:

> On 4/21/07, Craig L Russell <Cr...@sun.com> wrote:
>> Hi,
>>
>> Could the vm used to build openjpa be given some more memory to  
>> allow the
>> build to go through more often?
>>
>> Is this something the openjpa folks can do ourselves?
>
> export MAVEN_OPTS=-Xmx512m
>
> (Adjust as necessary.  According to [1], JDK 1.5 max heap size
> defaults to 1/4 the physical memory, and I don't know how much is
> available to each vm.)
>
> [1] http://java.sun.com/j2se/1.5.0/docs/guide/vm/gc-ergonomics.html
>
> -- 
> Wendy

Craig Russell
DB PMC
clr@apache.org http://db.apache.org/jdo