The cause of the build error seems to be an earlier version of MH that was consuming enormous amounts of memory in the machine, maybe some kind of memory leak. I shut it down and the build was successful with the Tobias settings given below.
Hank On Tue, 30 Aug 2011, Tobias Wunden wrote:
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
Hank _______________________________________________ Matterhorn-users mailing list [email protected] http://lists.opencastproject.org/mailman/listinfo/matterhorn-users
