[
https://issues.apache.org/jira/browse/BROOKLYN-337?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15432597#comment-15432597
]
Duncan Godwin commented on BROOKLYN-337:
----------------------------------------
Note that Java 8+ should not have this problem
> Brooklyn fails with OutOfMemoryError: PermGen space
> ---------------------------------------------------
>
> Key: BROOKLYN-337
> URL: https://issues.apache.org/jira/browse/BROOKLYN-337
> Project: Brooklyn
> Issue Type: Bug
> Environment: Centos 7, Brooklyn 0.10.0-SNAPSHOT
> Reporter: Duncan Godwin
>
> After several days of use automated QA testing Brooklyn fails with the error
> {code}
> 2016-08-20 12:34:19,292 INFO REST created catalog items:
> [CatalogLocationItemDto[azure:0.0.0.SNAPSHOT/Azure North Europe]]
> 2016-08-20 12:34:28,604 WARN REST request running as
> WebEntitlementContext[[email protected]:H1zh4s] threw:
> java.lang.OutOfMemoryError: PermGen space
> 2016-08-22 11:18:29,036 WARN REST request running as
> WebEntitlementContext[[email protected]:BWEHph] threw:
> java.lang.OutOfMemoryError: PermGen space
> 2016-08-22 11:23:20,090 WARN Request qUcWC0 (GET /v1/catalog/applications
> from 10.104.0.12) failed: java.lang.OutOfMemoryError: PermGen space
> java.lang.OutOfMemoryError: PermGen space
> 2016-08-22 11:23:29,731 WARN Request zz7Tuw (GET /v1/catalog/applications
> from 10.104.0.12) failed: java.lang.OutOfMemoryError: PermGen space
> java.lang.OutOfMemoryError: PermGen space
> 2016-08-22 11:23:29,755 WARN Error for /v1/catalog/applications
> java.lang.OutOfMemoryError: PermGen space
> 2016-08-22 11:23:29,757 WARN Error for /v1/catalog/applications
> java.lang.OutOfMemoryError: PermGen space
> 2016-08-23 08:49:43,743 WARN /v1/server/up/extended
> java.lang.OutOfMemoryError: PermGen space
> {code}
> This could be because the constant adding and removing of catalog items, see:
> http://stackoverflow.com/questions/4565105/is-there-a-way-to-avoid-undeployment-memory-leaks-in-tomcat
> http://stackoverflow.com/questions/88235/dealing-with-java-lang-outofmemoryerror-permgen-space-error
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)