[Backlogmanager] [FIWARE-JIRA] (HELP-8740) [fiware-stackoverflow] cygnus in Docker: How to fixe the OutOfMemoryError?

Andres Muñoz (JIRA) jira-help-desk at jira.fiware.org
Thu Jan 18 13:34:00 CET 2018


    [ https://jira.fiware.org/browse/HELP-8740?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=100911#comment-100911 ] 

Andres Muñoz commented on HELP-8740:
------------------------------------

Hi,

By default, Cygnus configure the JAVA_OPTS with a limited value, you can modify this value updating the JAVA_OPTS variable, so in order that you docker container set this variable when it is building the container you can add inside of the dockerfile of Cygnus the following env variable: ENV JAVA_OPTS='-Xmx1g'

That line allows you a heap of memory of 1Gb.

Another option is that you create the container and after that enter inside of it and check what is the value of JAVA_OPTS and set to -Xmx1g.

Best Regards,

> [fiware-stackoverflow] cygnus in Docker: How to fixe the OutOfMemoryError?
> --------------------------------------------------------------------------
>
>                 Key: HELP-8740
>                 URL: https://jira.fiware.org/browse/HELP-8740
>             Project: Help-Desk
>          Issue Type: Monitor
>          Components: FIWARE-TECH-HELP
>            Reporter: Backlog Manager
>            Assignee: Andres Muñoz
>              Labels: fiware, fiware-cygnus, java
>
> Created question in FIWARE Q/A platform on 16-03-2017 at 16:03
> {color: red}Please, ANSWER this question AT{color} https://stackoverflow.com/questions/42838720/cygnus-in-docker-how-to-fixe-the-outofmemoryerror
> +Question:+
> cygnus in Docker: How to fixe the OutOfMemoryError?
> +Description:+
> I got this error on cygnus instance in Docker:
> java.lang.OutOfMemoryError: GC overhead limit exceeded
> How can I fix it?



--
This message was sent by Atlassian JIRA
(v6.4.1#64016)


More information about the Backlogmanager mailing list

You can get more information about our cookies and privacy policies clicking on the following links: Privacy policy   Cookies policy