Archives of Support Questions (Read Only)

This is an archived board for historical reference. Information and links may no longer be available or relevant
Announcements
This board is archived and read-only for historical reference. To ask a new question, please post a new topic on the appropriate active board.

Who agreed with this solution

avatar
Master Mentor

@Richard Corfield

You can get GC output logs out of NiFi by adding the following lines to NiFi's bootstrap.conf file:

java.arg.20=-XX:+PrintGCDetails

java.arg.21=-XX:+PrintGCTimeStamps

java.arg.22=-XX:+PrintGCDateStamps

java.arg.23=-Xloggc:<file>

The last entry allows you to specific a separate log file for this output to be written in to rather then stdout.

Thanks,

Matt

View solution in original post

Who agreed with this solution