Joseph Witt created NIFI-909:
--------------------------------

             Summary: 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
             Fix For: 0.4.0


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.4#6332)

Reply via email to