nifi-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From <>
Subject RE: nifi memory question
Date Tue, 07 Jun 2016 13:54:58 GMT

Assigning more memory to the jvm: NiFi runs on java. So you can set the max heap size to 32GB.

Change the bin\ file to start java with the jvm flag:

The default value is lesser than 32GB. See this:


From: Joe Witt []
Sent: 07 June 2016 18:08
Subject: Re: nifi memory question

** This mail has been sent from an external source **


You could update the flowfile queue swap threshold higher in such a case.  That said at that
size of a heap you may see undesirable GC behavior.

Simply put what you saw when making tons of tiny flowfiles after a split and it causing slowness
is a bug and should be fine on far smaller heaps. We can and should push those things out
of the heap for large sessions like that.  You should be able to use it like you did and see
no perf implications.  That we must fix.

Mark you recall the jira number to tackle this?

On Jun 7, 2016 6:23 AM, "Leslie Hartman" <<>>

    If you have a server with say 64 Gigs of memory and wanted to give
32 Gigs of memory to nifi, what options would you change?

    When I was splitting a large file up into a lot of smaller pieces it ran out of memory.

    Thank You.

    Leslie Hartman
The information contained in this electronic message and any attachments to this message are
intended for the exclusive use of the addressee(s) and may contain proprietary, confidential
or privileged information. If you are not the intended recipient, you should not disseminate,
distribute or copy this e-mail. Please notify the sender immediately and destroy all copies
of this message and any attachments. WARNING: Computer viruses can be transmitted via email.
The recipient should check this email and any attachments for the presence of viruses. The
company accepts no liability for any damage caused by any virus transmitted by this email.
View raw message