Hello,

Try increasing the values in -XX:PermSize and -XX:MaxPermSize reasonably
(according to the total memory in your machine). You can also make those
two values equal (that way, java will try to reserve all the possible
memory it will need at the beginning, and if there's not enough memory, it
will fail right after you run the command). I'm assuming, of course, that
you have plenty of memory in your system (2-4GB).

For instance: export MAVEN_OPTS='-Xms256m -Xmx960m -XX:PermSize=512m
-XX:MaxPermSize=512m'

Best regards
Rubén

2012/7/17 adeseye a. (aa5g11) <[email protected]>

>  Hello,
>
>  while installing the core and executing the step: export MAVEN_OPTS='-Xms256m
> -Xmx960m -XX:PermSize=64m -XX:MaxPermSize=256m'
>  cd /opt/matterhorn/matterhorn_1.3.1
>  mvn clean install -DdeployTo=/opt/matterhorn/felix/matterhorn
>
>  I get this error:
>
>  The system is out of resources.
> Consult the following stack trace for details.
> java.lang.OutOfMemoryError: PermGen space
>
>
>  Please how do I resolve this ?
>
>
>  Yemi
>
>
> _______________________________________________
> 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

Reply via email to