You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nifi.apache.org by "Joseph Witt (JIRA)" <ji...@apache.org> on 2015/11/01 04:51:27 UTC

[jira] [Commented] (NIFI-1057) ConvertJSONToSQL fails with OOM

    [ https://issues.apache.org/jira/browse/NIFI-1057?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14984251#comment-14984251 ] 

Joseph Witt commented on NIFI-1057:
-----------------------------------

ah - good call Toivo.  From Randy's logs this line tells the tale

{quote}
2015-10-23 14:45:29,099 ERROR [NiFi Web Server-84] org.apache.nifi.NiFi An Unknown Error Occurred in Thread Thread[NiFi Web Server-84,5,main]: java.lang.OutOfMemoryError: PermGen space
{quote}

Randy,

In Java 7 this setting can be quite valuable.  In Java 8 it goes away since the purpose of the permgen gets absorbed into the Heap.  Extension bundles which load a ton of classes and other things can certainly tip the scales.  We're at the point now with the set of extensions at play that it can quickly get the permgen full.  Let us know if setting those values gets you back on track.

Thanks
Joe

> ConvertJSONToSQL fails with OOM
> -------------------------------
>
>                 Key: NIFI-1057
>                 URL: https://issues.apache.org/jira/browse/NIFI-1057
>             Project: Apache NiFi
>          Issue Type: Bug
>          Components: Extensions
>            Reporter: Randy Gelhausen
>         Attachments: nifi-app.log.gz
>
>
> Running NiFi built from master this afternoon, using Java 1.7.0_79 on OSX.
> The flow pulls JSON from a web endpoint, splits into about 200 JSON objects which are passed to ConvertJSONToSQL and eventually to PutSQL. Based on nifi-app.log, ConvertJSONToSQL is causing an OOM.
> This same setup works fine on Centos 6.6 with Java 1.8.0_40



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)