Support Questions
Find answers, ask questions, and share your expertise

Nifi UI is down and Nifi OutOfMemoryError

Solved Go to solution

Nifi UI is down and Nifi OutOfMemoryError

Explorer

Hi, My Nifi UI is down

On the nifi-bootstrap log, I found the OutOfMemoryError. Any advice on this issue is appraciated.

Thanks, Andy

here is the nifi-bootstrap log:

2017-05-13 02:55:41,053 ERROR [NiFi logging handler] org.apache.nifi.StdErr JVMDUMP039I Processing dump event "systhrow", detail "java/lang/OutOfMemoryError" at 2017/05/13 02:55:41 - please wait.

2017-05-13 02:55:41,054 ERROR [NiFi logging handler] org.apache.nifi.StdErr JVMDUMP032I JVM requested Heap dump using '/app/Project/nifi-1.1.1/heapdump.20170513.025541.31792.0001.phd' in response to an event

2017-05-13 02:55:48,525 ERROR [NiFi logging handler] org.apache.nifi.StdErr JVMDUMP010I Heap dump written to /app/Project/nifi-1.1.1/heapdump.20170513.025541.31792.0001.phd

2017-05-13 02:55:48,529 ERROR [NiFi logging handler] org.apache.nifi.StdErr JVMDUMP032I JVM requested System dump using '/app/Project/nifi-1.1.1/core.20170513.025541.31792.0002.dmp' in response to an event

2017-05-13 02:55:56,811 ERROR [NiFi logging handler] org.apache.nifi.StdErr Warning: unable to move dump to "/app/Project/nifi-1.1.1/core.20170513.025541.31792.0002.dmp" across file systems (check kernel core_pattern). Using alternate file location "/var/core/core.20170513.025541.31792.0002.dmp"

2017-05-13 02:55:56,818 ERROR [NiFi logging handler] org.apache.nifi.StdErr JVMDUMP010I System dump written to /var/core/core.20170513.025541.31792.0002.dmp

2017-05-13 02:55:56,818 ERROR [NiFi logging handler] org.apache.nifi.StdErr JVMDUMP032I JVM requested Java dump using '/app/Project/nifi-1.1.1/javacore.20170513.025541.31792.0003.txt' in response to an event

2017-05-13 02:55:56,971 ERROR [NiFi logging handler] org.apache.nifi.StdErr JVMDUMP010I Java dump written to /app/Project/nifi-1.1.1/javacore.20170513.025541.31792.0003.txt

2017-05-13 02:55:56,972 ERROR [NiFi logging handler] org.apache.nifi.StdErr JVMDUMP032I JVM requested Snap dump using '/app/Project/nifi-1.1.1/Snap.20170513.025541.31792.0005.trc' in response to an event

2017-05-13 02:55:56,972 ERROR [NiFi logging handler] org.apache.nifi.StdErr JVMDUMP010I Snap dump written to /app/Project/nifi-1.1.1/Snap.20170513.025541.31792.0005.trc

2017-05-13 02:55:56,973 ERROR [NiFi logging handler] org.apache.nifi.StdErr JVMDUMP013I Processed dump event "systhrow", detail "java/lang/OutOfMemoryError".

2017-05-13 02:55:56,974 ERROR [NiFi logging handler] org.apache.nifi.StdErr JVMDUMP032I JVM requested Heap dump using '/app/Project/nifi-1.1.1/heapdump.20170513.025541.31792.0004.phd' in response to an event

1 ACCEPTED SOLUTION

Accepted Solutions

Re: Nifi UI is down and Nifi OutOfMemoryError

@Andy Liang

How much memory do you have allocated to the NiFi JVM? It is set in the bootstrap.conf file, the default is 512MB.

The properties you want to look at are:

# JVM memory settings

java.arg.2=-Xms512m

java.arg.3=-Xmx512m

View solution in original post

2 REPLIES 2

Re: Nifi UI is down and Nifi OutOfMemoryError

@Andy Liang

How much memory do you have allocated to the NiFi JVM? It is set in the bootstrap.conf file, the default is 512MB.

The properties you want to look at are:

# JVM memory settings

java.arg.2=-Xms512m

java.arg.3=-Xmx512m

View solution in original post

Re: Nifi UI is down and Nifi OutOfMemoryError

Explorer

@Wynner

Thanks for your help, I had updated it to

java.arg.2=-Xms512m

java.arg.3=-Xmx8g