nifi-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mark Payne <>
Subject Re: SplitJson:GC Overhead Limit Exceeded
Date Thu, 17 Nov 2016 16:22:50 GMT
Hi Mike,

Certainly, I would recommend trying to change the max heap to say 2 GB and see if that gives
you what you need.
Looking at the code, it does look like this Processor may not be the most efficient in how
it is parsing the JSON.
There are libraries, for example, that provide a "Streaming JSON" interface, but this Processor
loads the entire JSON
into heap and then creates an Object Model from it.

Also, what do you have set for the Max Concurrent Tasks? If you have multiple threads simultaneously
running, you could
have each one using up quite a lot of heap.


On Nov 17, 2016, at 10:54 AM, Mike Harding <<>>

..just for info in bootstrap.conf my heap size is as follows:



Would it be a simple case of increasing this? The size of the flowfile json array is 35MB.


On 17 November 2016 at 15:47, Mike Harding <<>>
Hi All,

I have a flowfile containing a JSON array with 30k objects that I am trying to split into
separate flowfiles for down stream processing.

The problem is the processor reports a GC Overhead Limit Exceeded warning and administratively

Is there anyway of setting up a back pressure option or some changes to the nifi config to
best address this.


View raw message