cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "m burns (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CXF-3616) when building from source, receive an OutOfMemoryError
Date Thu, 23 Jun 2011 17:39:47 GMT

    [ https://issues.apache.org/jira/browse/CXF-3616?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13053996#comment-13053996
] 

m burns commented on CXF-3616:
------------------------------

This error also shows up when trying a fastInstall.


I was able to get past this error by doing 
export MAVEN_OPTS=-Xmx512m





> when building from source, receive an OutOfMemoryError
> ------------------------------------------------------
>
>                 Key: CXF-3616
>                 URL: https://issues.apache.org/jira/browse/CXF-3616
>             Project: CXF
>          Issue Type: Bug
>          Components: Build system
>    Affects Versions: 2.4.1
>         Environment: Apache Maven 2.2.1 (r801777; 2009-08-06 14:16:01-0500)
> Java version: 1.6.0_13
> Default locale: en_US, platform encoding: Cp1252
> OS name: "windows vista" version: "6.0" arch: "x86" Family: "windows"
>            Reporter: m burns
>            Priority: Minor
>
> downloaded version 2.4.1 of the source code into an empty directory with an empty mvn
repository.
> cd to source directory.
> type mvn
> system cranks for a few minutes, but eventually stops with this error.
> [INFO] ------------------------------------------------------------------------
> [INFO] Building Apache CXF API
> [INFO]    task-segment: [install]
> [INFO] ------------------------------------------------------------------------
> [INFO] [checkstyle:checkstyle {execution: validate}]
> [INFO] Starting audit...
> Audit done.
> [INFO] Preparing pmd:check
> [INFO] [pmd:pmd {execution: pmd}]
> [INFO] ------------------------------------------------------------------------
> [ERROR] FATAL ERROR
> [INFO] ------------------------------------------------------------------------
> [INFO] Java heap space
> [INFO] ------------------------------------------------------------------------
> [INFO] Trace
> java.lang.OutOfMemoryError: Java heap space
>         at java.util.Arrays.copyOfRange(Arrays.java:3209)
>         at java.lang.String.<init>(String.java:216)
>         at net.sourceforge.pmd.ast.JavaCharStream.GetImage(JavaCharStream.java:535)
>         at net.sourceforge.pmd.ast.JavaParserTokenManager.jjFillToken(JavaParserTokenManager.java:1902)
>         at net.sourceforge.pmd.ast.JavaParserTokenManager.getNextToken(JavaParserTokenManager.java:1994)
>         at net.sourceforge.pmd.ast.JavaParser.jj_consume_token(JavaParser.java:9430)
>         at net.sourceforge.pmd.ast.JavaParser.Block(JavaParser.java:4124)
>         at net.sourceforge.pmd.ast.JavaParser.MethodDeclaration(JavaParser.java:1403)
>         at net.sourceforge.pmd.ast.JavaParser.ClassOrInterfaceBodyDeclaration(JavaParser.java:1072)
>         at net.sourceforge.pmd.ast.JavaParser.ClassOrInterfaceBody(JavaParser.java:991)
>         at net.sourceforge.pmd.ast.JavaParser.ClassOrInterfaceDeclaration(JavaParser.java:501)
>         at net.sourceforge.pmd.ast.JavaParser.TypeDeclaration(JavaParser.java:393)
>         at net.sourceforge.pmd.ast.JavaParser.CompilationUnit(JavaParser.java:151)
>         at net.sourceforge.pmd.parsers.Java15Parser.parse(Java15Parser.java:24)
>         at net.sourceforge.pmd.PMD.processFile(PMD.java:98)
>         at net.sourceforge.pmd.PMD.processFile(PMD.java:75)
>         at net.sourceforge.pmd.PMD.processFile(PMD.java:172)
>         at org.apache.maven.plugin.pmd.PmdReport.generateReport(PmdReport.java:283)
>         at org.apache.maven.plugin.pmd.PmdReport.execute(PmdReport.java:168)
>         at org.apache.maven.plugin.pmd.PmdReport.executeReport(PmdReport.java:142)
>         at org.apache.maven.reporting.AbstractMavenReport.generate(AbstractMavenReport.java:131)
>         at org.apache.maven.reporting.AbstractMavenReport.execute(AbstractMavenReport.java:76)
>         at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:490)
>         at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:694)
>         at org.apache.maven.lifecycle.DefaultLifecycleExecutor.forkProjectLifecycle(DefaultLifecycleExecutor.java:1211)
>         at org.apache.maven.lifecycle.DefaultLifecycleExecutor.forkLifecycle(DefaultLifecycleExecutor.java:1038)
>         at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:643)
>         at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:556)
>         at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:535)
>         at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:387)
>         at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:348)
>         at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:180)
> [INFO] ------------------------------------------------------------------------
> [INFO] Total time: 1 minute 48 seconds
> [INFO] Finished at: Thu Jun 23 12:13:17 CDT 2011
> [INFO] Final Memory: 63M/63M
> [INFO] ------------------------------------------------------------------------

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message