You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by "Joseph Witt (JIRA)" <ji...@apache.org> on 2017/03/27 02:41:41 UTC

[jira] [Resolved] (NIFI-909) Update documentation and/or automate permgen settings for Java 7

     [ https://issues.apache.org/jira/browse/NIFI-909?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Joseph Witt resolved NIFI-909.
------------------------------
    Resolution: Not A Problem

> Update documentation and/or automate permgen settings for Java 7
> ----------------------------------------------------------------
>
>                 Key: NIFI-909
>                 URL: https://issues.apache.org/jira/browse/NIFI-909
>             Project: Apache NiFi
>          Issue Type: Bug
>          Components: Configuration, Documentation & Website
>            Reporter: Joseph Witt
>
> NiFi loads a lot of classes due to its class loading model and extensibility.  In Java 7 the Perm Gen is quite small by default.  As a result a new user can get nifi running then suddenly see permgen issues.  This is confusing and annoying and avoidable.
> We could add something about this in the documentation.  That is the least we can do.  We could also add something in the UI that warns, like a bulletin, about permgen being close to full, and we could add something to the startup scripts that when it is Java 7 it will set the permgen larger by default if the user doesn't have those settings established.
> We could probably also just leave those settings active by default but on Java 8 it would print at least a warning which could also lead to confusion
> In Java 8 this is goes away entirely and is a non-issue.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)