Hank,
I am locally using this to build successfully:
-Xms256m -Xmx512m -XX:PermSize=64m -XX:MaxPermSize=128m
Do you mind verifying? If it works, we need to update that in the documentation.
Tobias
On 30.08.2011, at 19:26, Hank Magnuski wrote:
>
> I'm trying to get the new release built, without any luck.
>
> The error message says it cannot allocate memory, but I'm using the suggested
> MAVEN_OPTS:
>
> MAVEN_OPTS='-Xms256m -Xmx960m -XX:PermSize=64m -XX:MaxPermSize=256m'
>
> This is on a Centos 5 system which has built many earlier MH releases.
>
> Any ideas?
>
> Hank
>
> [INFO] [resources:resources {execution: default-resources}]
> [INFO] Using 'UTF-8' encoding to copy filtered resources.
> [INFO] Copying 0 resource
> [INFO] [compiler:compile {execution: default-compile}]
> [INFO] Compiling 2 source files to
> /opt/matterhorn/matterhorn-1.2.0/modules/matterhorn-ingest-service-api/target/classes
> [INFO] [resources:testResources {execution: default-testResources}]
> [INFO] Using 'UTF-8' encoding to copy filtered resources.
> [INFO] Copying 1 resource
> [INFO] skip non existing resourceDirectory
> /opt/matterhorn/matterhorn-1.2.0/modules/matterhorn-ingest-service-api/src/test/resources
> [INFO] [compiler:testCompile {execution: default-testCompile}]
> [INFO] No sources to compile
> [INFO] [surefire:test {execution: default-test}]
> [INFO] Surefire report directory:
> /opt/matterhorn/matterhorn-1.2.0/modules/matterhorn-ingest-service-api/target/surefire-reports
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] BUILD ERROR
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Error while executing forked tests.; nested exception is
> org.apache.maven.surefire.booter.shade.org.codehaus.plexus.util.cli.CommandLineException:
> Error while executing process.
>
> java.io.IOException: error=12, Cannot allocate memory
> [INFO]
> ------------------------------------------------------------------------
> [INFO] For more information, run Maven with the -e switch
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Total time: 1 minute 43 seconds
> [INFO] Finished at: Tue Aug 30 09:58:44 PDT 2011
> [INFO] Final Memory: 100M/247M
> [INFO]
> ------------------------------------------------------------------------
>
>
> _______________________________________________
> Matterhorn-users mailing list
> [email protected]
> http://lists.opencastproject.org/mailman/listinfo/matterhorn-users
_______________________________________________
Matterhorn-users mailing list
[email protected]
http://lists.opencastproject.org/mailman/listinfo/matterhorn-users