[
https://issues.apache.org/jira/browse/BROOKLYN-348?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15588470#comment-15588470
]
ASF GitHub Bot commented on BROOKLYN-348:
-----------------------------------------
GitHub user justinThompson opened a pull request:
https://github.com/apache/brooklyn-dist/pull/54
Added setenv script to karaf bin
This PR does the following:
- adds a `setenv` script
- sets default memory settings
- checks if java is installed
- sets the local loopback
This PR addresses the following issue
https://issues.apache.org/jira/browse/BROOKLYN-348
and ensures karaf scripts don't fail silently if java is not installed.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/justinThompson/brooklyn-dist
karaf-setenv-script
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/brooklyn-dist/pull/54.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #54
----
----
> "java.lang.OutOfMemoryError: PermGen space" with Karaf dist
> -----------------------------------------------------------
>
> Key: BROOKLYN-348
> URL: https://issues.apache.org/jira/browse/BROOKLYN-348
> Project: Brooklyn
> Issue Type: Bug
> Reporter: Svetoslav Neykov
>
> When running a VanillaSoftwareProcess blueprint on the current Brooklyn
> master branch in the Karaf distribution I'm getting
> "java.lang.OutOfMemoryError: PermGen space" errors.
> Increase memory settings in setenv script to
> * JAVA_MAX_MEM="2G"
> * JAVA_MAX_PERM_MEM="256m"
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)