Nissim Shiman created NIFI-11153:
------------------------------------
Summary: For very large files, content viewer fails with
OutOfMemoryError, screen looses look and feel
Key: NIFI-11153
URL: https://issues.apache.org/jira/browse/NIFI-11153
Project: Apache NiFi
Issue Type: Bug
Reporter: Nissim Shiman
For very large files, content viewer fails with
HTTP ERROR 500 java.lang.OutOfMemoryError: Java heap space
The nifi gui loses its "look and feel" and the screen goes white
with the additional details:
URI: /nifi-content-viewer/
STATUS: 500
MESSAGE: java.lang.OutOfMemoryError: Java heap space
SERVLET: ContentViewerController
CAUSED BY: java.lang.OutOfMemoryError: Java heap space
Caused by:
java.lang.OutOfMemoryError: Java heap space
To recreate:
GenerateFlowFile -> funnel
where GenerateFlowFile's filesize is 100MB
then view file on output queue
(Issue was also seen with json file of 100MB)
Possible solution maybe to check for file over a certain size before attempting
to process for viewing.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)